diff options
Diffstat (limited to 'app/Model/TimetableOff.php')
-rw-r--r-- | app/Model/TimetableOff.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/TimetableOff.php b/app/Model/TimetableOff.php index aa064f05..e4fe32d2 100644 --- a/app/Model/TimetableOff.php +++ b/app/Model/TimetableOff.php @@ -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, |