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.
2 parents d24d866 + 4ee781a commit 895b984Copy full SHA for 895b984
app/code/Magento/SalesRule/Block/Adminhtml/Promo/Widget/Chooser.php
@@ -87,7 +87,7 @@ public function prepareElementHtml(\Magento\Framework\Data\Form\Element\Abstract
87
if ($element->getValue()) {
88
$rule = $this->ruleFactory->create()->load((int)$element->getValue());
89
if ($rule->getId()) {
90
- $chooser->setLabel($rule->getName());
+ $chooser->setLabel($this->escapeHtml($rule->getName()));
91
}
92
93
0 commit comments