Skip to content

Commit 9395f55

Browse files
MC-19716: Cannot change action settings of scheduled update for cart rule
1 parent db43c11 commit 9395f55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/SalesRule/Controller/Adminhtml/Promo/Quote/NewActionHtml.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class NewActionHtml extends \Magento\SalesRule\Controller\Adminhtml\Promo\Quote
1616
public function execute()
1717
{
1818
$id = $this->getRequest()->getParam('id');
19-
$formName = $this->getRequest()->getParam('form');
19+
$formName = $this->getRequest()->getParam('form_namespace');
2020
$typeArr = explode('|', str_replace('-', '/', $this->getRequest()->getParam('type')));
2121
$type = $typeArr[0];
2222

@@ -37,6 +37,7 @@ public function execute()
3737

3838
if ($model instanceof \Magento\Rule\Model\Condition\AbstractCondition) {
3939
$model->setJsFormObject($formName);
40+
$model->setFormName($formName);
4041
$html = $model->asHtmlRecursive();
4142
} else {
4243
$html = '';

0 commit comments

Comments
 (0)