File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Config/view/adminhtml/templates/system/config/form/field
Reports/view/frontend/templates/widget/compared/content Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ $_colspan = $block->isAddAfter() ? 2 : 1;
122
122
// add existing rows
123
123
<?php
124
124
foreach ($ block ->getArrayRows () as $ _rowId => $ _row ) {
125
- echo /* @noEscape */ "arrayRow {$ block ->escapeJs ($ _htmlId )}.add( " . /* @noEscape */ $ _row ->toJson () . "); \n" ;
125
+ echo /** @noEscape */ "arrayRow {$ block ->escapeJs ($ _htmlId )}.add( " . /* * @noEscape */ $ _row ->toJson () . "); \n" ;
126
126
}
127
127
?>
128
128
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ if ($exist = $block->getRecentlyComparedProducts()) {
72
72
<?php if ($ _item ->isSaleable ()) : ?>
73
73
<?php if ($ _item ->getTypeInstance ()->hasRequiredOptions ($ _item )) : ?>
74
74
<button class="action tocart primary"
75
- data-mage-init='{"redirectUrl": {"url": "<?= $ block ->escapeUrl ($ block ->getAddToCartUrl ($ _item )) ?> "}}'
75
+ data-mage-init='{"redirectUrl": {"url": "<?= $ block ->escapeHtmlAttr ( $ block -> escapeUrl ($ block ->getAddToCartUrl ($ _item) )) ?> "}}'
76
76
type="button" title="<?= $ block ->escapeHtmlAttr (__ ('Add to Cart ' )) ?> ">
77
77
<span><?= $ block ->escapeHtml (__ ('Add to Cart ' )) ?> </span>
78
78
</button>
You can’t perform that action at this time.
0 commit comments