Fix postgres issue with time-off timetable

This commit is contained in:
Frederic Guillot 2015-04-06 18:52:00 -04:00
parent 13ea77f018
commit 96a1511346
1 changed files with 1 additions and 1 deletions

View File

@ -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,