Skip to content

Commit ff46fc0

Browse files
author
roman
committed
MAGETWO-96757: Fixed incorrect displaying of the sales rule conditions
1 parent f0e08c7 commit ff46fc0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
<?php
22
/**
3-
*
43
* Copyright © Magento, Inc. All rights reserved.
54
* See COPYING.txt for license details.
65
*/
76
namespace Magento\SalesRule\Controller\Adminhtml\Promo\Quote;
87

9-
class NewConditionHtml extends \Magento\SalesRule\Controller\Adminhtml\Promo\Quote
8+
use Magento\Framework\App\Action\HttpPostActionInterface;
9+
10+
/**
11+
* Controller class NewConditionHtml. Returns condition html
12+
*/
13+
class NewConditionHtml extends \Magento\SalesRule\Controller\Adminhtml\Promo\Quote implements HttpPostActionInterface
1014
{
1115
/**
1216
* New condition html action
@@ -44,4 +48,4 @@ public function execute()
4448
}
4549
$this->getResponse()->setBody($html);
4650
}
47-
}
51+
}

0 commit comments

Comments
 (0)