From f528045542792b128de1e70d1c767043c5a70a9d Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Wed, 28 Feb 2024 11:04:15 +0530 Subject: [PATCH] Fixed: Exception on AdminOrdersRefundRequests occuring due to access join --- .../controllers/admin/AdminOrderRefundRequestsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hotelreservationsystem/controllers/admin/AdminOrderRefundRequestsController.php b/modules/hotelreservationsystem/controllers/admin/AdminOrderRefundRequestsController.php index 28c9b1ba6..6d261759b 100644 --- a/modules/hotelreservationsystem/controllers/admin/AdminOrderRefundRequestsController.php +++ b/modules/hotelreservationsystem/controllers/admin/AdminOrderRefundRequestsController.php @@ -80,7 +80,7 @@ public function __construct() $this->identifier = 'id_order_return'; // START send access query information to the admin controller - $this->access_select = ' SELECT a.`id` FROM '._DB_PREFIX_.'order_return a'; + $this->access_select = ' SELECT a.`id_order_return` FROM '._DB_PREFIX_.'order_return a'; $this->access_join = ' INNER JOIN '._DB_PREFIX_.'htl_booking_detail hbd ON (hbd.id_order = a.id_order)'; if ($acsHtls = HotelBranchInformation::getProfileAccessedHotels($this->context->employee->id_profile, 1, 1)) { $this->access_where = ' WHERE hbd.id_hotel IN ('.implode(',', $acsHtls).')';