diff --git a/module/CudiBundle/Controller/Admin/Sale/Session/OpeningHourController.php b/module/CudiBundle/Controller/Admin/Sale/Session/OpeningHourController.php index 5b00254c8..6e1d4760f 100644 --- a/module/CudiBundle/Controller/Admin/Sale/Session/OpeningHourController.php +++ b/module/CudiBundle/Controller/Admin/Sale/Session/OpeningHourController.php @@ -289,7 +289,7 @@ private function calculateNextTime($time, $endTime) $minute = explode(':', $time)[1]; $endHour = explode(':', $endTime)[0]; $endMinute = explode(':', $endTime)[1]; - if ($minute == '00') { + if ($minute == '00' or $minute == '05') { $minute = '30'; } else { $hour = strval($hour + 1);