From 98d891c08bc2355f4a94e97e8b8d9800ed4ea0ad Mon Sep 17 00:00:00 2001 From: amit sharma Date: Thu, 24 Sep 2026 11:40:06 +0530 Subject: [PATCH] Fixed: Resolve missing hotel export option Co-authored-by: Name --- .../controllers/admin/AdminAddHotelController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/hotelreservationsystem/controllers/admin/AdminAddHotelController.php b/modules/hotelreservationsystem/controllers/admin/AdminAddHotelController.php index 9e902d0d7..7dd1b3c52 100644 --- a/modules/hotelreservationsystem/controllers/admin/AdminAddHotelController.php +++ b/modules/hotelreservationsystem/controllers/admin/AdminAddHotelController.php @@ -39,6 +39,8 @@ class AdminAddHotelController extends ModuleAdminController parent::__construct(); + $this->allow_export = true; + $this->_join .= 'LEFT JOIN `'._DB_PREFIX_.'htl_branch_info_lang` hbl ON (a.id = hbl.id AND hbl.`id_lang` = '.(int) $this->context->language->id.')'; $this->_join .= 'LEFT JOIN `'._DB_PREFIX_.'address` aa ON (aa.`id_hotel` = a.`id`)';