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 2344927 commit 9786ddeCopy full SHA for 9786dde
app/code/Magento/SalesRule/Controller/Adminhtml/Promo/Quote/Save.php
@@ -64,7 +64,7 @@ public function execute()
64
{
65
$data = $this->getRequest()->getPostValue();
66
if ($data) {
67
- $data['simple_free_shipping'] = isset($data['simple_free_shipping']) ? $data['simple_free_shipping'] : null;
+ $data['simple_free_shipping'] = ($data['simple_free_shipping'] === '') ? null : $data['simple_free_shipping'] ;
68
69
try {
70
/** @var $model \Magento\SalesRule\Model\Rule */
0 commit comments