Merge pull request #751 from abhishek-webkul/gli-969

Fixed: Groups selection is removed for Advanced Price Rule when status is changed
This commit is contained in:
Rohit Jain
2023-09-07 15:43:18 +05:30
committed by GitHub

View File

@@ -823,8 +823,8 @@ class HotelRoomTypeFeaturePricing extends ObjectModel
*/
public function updateGroup($groups)
{
$this->cleanGroups();
if ($groups && !empty($groups)) {
$this->cleanGroups();
$this->addGroups($groups);
}
}