Skip to content

Commit

Permalink
Merge pull request magento#4030 from magento-arcticfoxes/2.3-qwerty-pr
Browse files Browse the repository at this point in the history
[arcticfoxes] Bug Fixes
  • Loading branch information
joanhe authored Apr 16, 2019
2 parents 8753a58 + 68c7f5b commit 77fbda2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ public function execute()
unset($data['rule']);
}

unset($data['conditions_serialized']);
unset($data['actions_serialized']);

$model->loadPost($data);

$this->_objectManager->get(\Magento\Backend\Model\Session::class)->setPageData($data);
Expand Down
6 changes: 3 additions & 3 deletions app/code/Magento/Rule/Block/Editable.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $ele
'" name="' .
$this->escapeHtmlAttr($element->getName()) .
'" value="' .
$element->getValue() .
$this->escapeHtmlAttr($element->getValue()) .
'" data-form-part="' .
$element->getData('data-form-part') .
$this->escapeHtmlAttr($element->getData('data-form-part')) .
'"/> ' .
htmlspecialchars(
$this->escapeHtml(
$valueName
) . ' ';
} else {
Expand Down

0 comments on commit 77fbda2

Please sign in to comment.