diff --git a/modules/wkroomsearchblock/wkroomsearchblock.php b/modules/wkroomsearchblock/wkroomsearchblock.php index dc696e4af..f1b732122 100644 --- a/modules/wkroomsearchblock/wkroomsearchblock.php +++ b/modules/wkroomsearchblock/wkroomsearchblock.php @@ -116,7 +116,10 @@ class WkRoomSearchBlock extends Module // In the xs sceen the booking button on the landing page public function hookDisplayAfterHeaderHotelDesc() { - return $this->display(__FILE__, 'landingPageXsBtn.tpl'); + $objHotelInfo = new HotelBranchInformation(); + if ($objHotelInfo->hotelBranchesInfo(0, 1)) { + return $this->display(__FILE__, 'landingPageXsBtn.tpl'); + } } // search panel block on the category page on left block