updated isOccupancy function

This commit is contained in:
Shreesh Arora
2023-04-05 17:40:02 +05:30
parent 48ab004e55
commit 278f20dbd5
5 changed files with 32 additions and 37 deletions

View File

@@ -1218,7 +1218,7 @@ class ProductControllerCore extends FrontController
$dateFrom = Tools::getValue('date_from');
$dateTo = Tools::getValue('date_to');
$occupancy = Tools::getValue('occupancy');
if (!Validate::isOccupancies($occupancy)) {
if (!Validate::isOccupancy($occupancy)) {
$occupancy = array();
}
$roomTypeDemands = Tools::getValue('room_type_demands');