Skip to content

Commit 9786dde

Browse files
committed
AC-2242::fixed failing mftf testcases by making chamge in save.php
1 parent 2344927 commit 9786dde

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/SalesRule/Controller/Adminhtml/Promo/Quote

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function execute()
6464
{
6565
$data = $this->getRequest()->getPostValue();
6666
if ($data) {
67-
$data['simple_free_shipping'] = isset($data['simple_free_shipping']) ? $data['simple_free_shipping'] : null;
67+
$data['simple_free_shipping'] = ($data['simple_free_shipping'] === '') ? null : $data['simple_free_shipping'] ;
6868

6969
try {
7070
/** @var $model \Magento\SalesRule\Model\Rule */

0 commit comments

Comments
 (0)