diff options
author | Bot <bot@myigel.name> | 2017-01-03 14:12:17 +0100 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2017-01-03 15:32:59 +0100 |
commit | 55141154c083acc2d0397f4c62b4e0be1c7a19fa (patch) | |
tree | 7e5e54a19f7df976fa68c42f21f1484112a7c257 /includes/controller/rooms_controller.php | |
parent | 356b2582f3e6a43ecf2607acad4a7fe0b37f659a (diff) |
Replaced " with '
Diffstat (limited to 'includes/controller/rooms_controller.php')
-rw-r--r-- | includes/controller/rooms_controller.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/controller/rooms_controller.php b/includes/controller/rooms_controller.php index 9910f50c..3f5ff387 100644 --- a/includes/controller/rooms_controller.php +++ b/includes/controller/rooms_controller.php @@ -23,7 +23,7 @@ function room_controller() $all_shifts = Shifts_by_room($room); $days = []; foreach ($all_shifts as $shift) { - $day = date("Y-m-d", $shift['start']); + $day = date('Y-m-d', $shift['start']); if (!in_array($day, $days)) { $days[] = $day; } @@ -34,15 +34,15 @@ function room_controller() [$room['RID']], AngelType_ids() ); - $selected_day = date("Y-m-d"); + $selected_day = date('Y-m-d'); if (!empty($days)) { $selected_day = $days[0]; } if (isset($_REQUEST['shifts_filter_day'])) { $selected_day = $_REQUEST['shifts_filter_day']; } - $shiftsFilter->setStartTime(parse_date("Y-m-d H:i", $selected_day . ' 00:00')); - $shiftsFilter->setEndTime(parse_date("Y-m-d H:i", $selected_day . ' 23:59')); + $shiftsFilter->setStartTime(parse_date('Y-m-d H:i', $selected_day . ' 00:00')); + $shiftsFilter->setEndTime(parse_date('Y-m-d H:i', $selected_day . ' 23:59')); $shiftsFilterRenderer = new ShiftsFilterRenderer($shiftsFilter); $shiftsFilterRenderer->enableDaySelection($days); |