We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38d1486 commit 4836d1fCopy full SHA for 4836d1f
app/code/core/Mage/Rule/Model/Condition/Combine.php
@@ -52,7 +52,7 @@ public function prepareConditionSql()
52
$wheres = [];
53
foreach ($this->getConditions() as $condition) {
54
/** @var Mage_Rule_Model_Condition_Abstract $condition */
55
- $wheres[] = $condition->prepareConditionSql();
+ $wheres[] = '(' . $condition->prepareConditionSql() . ')';
56
}
57
58
if (empty($wheres)) {
0 commit comments