Allow events created by clicking on 00:00 to actually start at 00:00 instead of workday start time

This commit is contained in:
nathangray 2016-09-05 10:04:32 -06:00
parent 50328495a9
commit 57f994e038

View File

@ -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'],
));
}