From ff4d9e0a8c1a18e7bf248513f3ce4595b0e95014 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 05f1ae74d2..d5c3f113ae 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'], )); }