From 5b4c16b650a6a3c1fd8ef8a95db85ea162b96348 Mon Sep 17 00:00:00 2001 From: Shreesh Arora Date: Fri, 14 Apr 2023 12:59:05 +0530 Subject: [PATCH] fix syntax error --- .../controllers/admin/AdminHotelRoomsBookingController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/hotelreservationsystem/controllers/admin/AdminHotelRoomsBookingController.php b/modules/hotelreservationsystem/controllers/admin/AdminHotelRoomsBookingController.php index daec997ea..6146e43f4 100644 --- a/modules/hotelreservationsystem/controllers/admin/AdminHotelRoomsBookingController.php +++ b/modules/hotelreservationsystem/controllers/admin/AdminHotelRoomsBookingController.php @@ -623,6 +623,7 @@ class AdminHotelRoomsBookingController extends ModuleAdminController if (!Validate::isOccupancy($occupancy)) { $occupancy = array(); } + } $date_from = date("Y-m-d", strtotime($date_from)); $date_to = date("Y-m-d", strtotime($date_to));