Skip to content

Commit

Permalink
MAGETWO-51289: Can't update categories in catalog rule conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Idolov committed Apr 12, 2016
1 parent cd8b24b commit 17788dc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ protected function addTabToForm($model, $fieldsetId = 'conditions_fieldset', $fo
private function setConditionFormName(\Magento\Rule\Model\Condition\AbstractCondition $conditions, $formName)
{
$conditions->setFormName($formName);
$conditions->setJsFormObject($formName);
if ($conditions->getConditions() && is_array($conditions->getConditions())) {
foreach ($conditions->getConditions() as $condition) {
$this->setConditionFormName($condition, $formName);
Expand Down

0 comments on commit 17788dc

Please sign in to comment.