Fixed: fatal error when applying the same “condition group” in the catalog price rule
This commit is contained in:
@@ -266,6 +266,8 @@ class SpecificPriceRuleCore extends ObjectModel
|
||||
|
||||
$result = array_merge($result, Db::getInstance()->executeS($query));
|
||||
}
|
||||
// Remove duplicate after the array_merge
|
||||
$result = array_unique($result, SORT_REGULAR);
|
||||
} else {
|
||||
// All products without conditions
|
||||
if ($products && count($products)) {
|
||||
|
||||
Reference in New Issue
Block a user