File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/code/Magento/ConfigurableProduct/view/base/templates/product/price Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ /** @var $escaper \Magento\Framework\Escaper */
7
8
/** @var \Magento\ConfigurableProduct\Pricing\Render\FinalPriceBox $block */
8
9
/** @var \Magento\Framework\Pricing\Price\PriceInterface $priceModel */
9
10
$ priceModel = $ block ->getPriceType ('regular_price ' );
@@ -41,7 +42,7 @@ $block->renderAmount($finalPriceModel->getAmount(), [
41
42
42
43
<?php if ($ block ->showMinimalPrice ()): ?>
43
44
<?php if ($ block ->getUseLinkForAsLowAs ()):?>
44
- <a href="<?= $ block ->escapeUrl ($ block ->getSaleableItem ()->getProductUrl ()) ?> " class="minimal-price-link">
45
+ <a href="<?= $ escaper ->escapeUrl ($ block ->getSaleableItem ()->getProductUrl ()) ?> " class="minimal-price-link">
45
46
<?= /* @noEscape */ $ block ->renderAmountMinimal () ?>
46
47
</a>
47
48
<?php else :?>
You can’t perform that action at this time.
0 commit comments