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:
@@ -823,8 +823,8 @@ class HotelRoomTypeFeaturePricing extends ObjectModel
|
||||
*/
|
||||
public function updateGroup($groups)
|
||||
{
|
||||
$this->cleanGroups();
|
||||
if ($groups && !empty($groups)) {
|
||||
$this->cleanGroups();
|
||||
$this->addGroups($groups);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user