From 27c01df08ef3cf6e845115480351d0c078773253 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Thu, 3 Aug 2023 20:31:01 +0530 Subject: [PATCH] Fix groups issue on Advanced Price Rule status change --- .../classes/HotelRoomTypeFeaturePricing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hotelreservationsystem/classes/HotelRoomTypeFeaturePricing.php b/modules/hotelreservationsystem/classes/HotelRoomTypeFeaturePricing.php index 29c85977e..29e33a3bb 100644 --- a/modules/hotelreservationsystem/classes/HotelRoomTypeFeaturePricing.php +++ b/modules/hotelreservationsystem/classes/HotelRoomTypeFeaturePricing.php @@ -823,8 +823,8 @@ class HotelRoomTypeFeaturePricing extends ObjectModel */ public function updateGroup($groups) { - $this->cleanGroups(); if ($groups && !empty($groups)) { + $this->cleanGroups(); $this->addGroups($groups); } }