From 57f994e03810fb88fa573425f33a1b88491ff64a Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 5 Sep 2016 10:04:32 -0600 Subject: [PATCH] Allow events created by clicking on 00:00 to actually start at 00:00 instead of workday start time --- calendar/inc/class.calendar_uiforms.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 82c20b7094..05f2c98b3c 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -137,7 +137,7 @@ class calendar_uiforms extends calendar_ui { $start = $this->bo->date2ts(array( 'full' => isset($_GET['date']) && (int) $_GET['date'] ? (int) $_GET['date'] : $this->date, - 'hour' => (int) (isset($_GET['hour']) && (int) $_GET['hour'] ? $_GET['hour'] : $this->bo->cal_prefs['workdaystarts']), + 'hour' => (int) (isset($_GET['hour']) ? $_GET['hour'] : $this->bo->cal_prefs['workdaystarts']), 'minute' => (int) $_GET['minute'], )); }