Merge pull request #717 from wdammak/patch-49
fix "DataForFrontSearch" to "dataForFrontSearch" in ProductController.php
This commit is contained in:
@@ -628,7 +628,7 @@ class ProductControllerCore extends FrontController
|
||||
}
|
||||
|
||||
$totalAvailableRooms = 0;
|
||||
if ($hotelRoomData = $objBookingDetail->DataForFrontSearch($bookingParams)) {
|
||||
if ($hotelRoomData = $objBookingDetail->dataForFrontSearch($bookingParams)) {
|
||||
$totalAvailableRooms = $hotelRoomData['stats']['num_avail'];
|
||||
$quantity = ($quantity > $totalAvailableRooms) ? $totalAvailableRooms : $quantity;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user