Fix postgres issue with time-off timetable
This commit is contained in:
parent
13ea77f018
commit
96a1511346
|
|
@ -81,7 +81,7 @@ class TimetableOff extends Base
|
|||
$values = array(
|
||||
'user_id' => $user_id,
|
||||
'date' => $date,
|
||||
'all_day' => $all_day,
|
||||
'all_day' => (int) $all_day, // Postgres fix
|
||||
'start' => $all_day ? '' : $start,
|
||||
'end' => $all_day ? '' : $end,
|
||||
'comment' => $comment,
|
||||
|
|
|
|||
Loading…
Reference in New Issue