File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
app/code/Magento/CatalogSearch/view/frontend/templates/advanced Expand file tree Collapse file tree 1 file changed +6
-0
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
+ use Magento \Framework \Escaper ;
8
+
7
9
/**
8
10
* Catalog advanced search form
9
11
*
10
12
* @var $block \Magento\CatalogSearch\Block\Advanced\Form
11
13
* @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer
14
+ * @var Escaper $escaper
12
15
*/
13
16
?>
14
17
@@ -91,6 +94,9 @@ $catalogSearchHelper = $block->getData('catalogSearchHelper'); ?>
91
94
for="<?= $ block ->escapeHtmlAttr ($ _code ) ?> _to">
92
95
<?= $ block ->escapeHtml ($ block ->getCurrency ($ _attribute )) ?>
93
96
</label>
97
+ <input type="hidden"
98
+ name="<?= $ escaper ->escapeHtmlAttr ($ _code )?> [currency]"
99
+ value="<?= $ escaper ->escapeHtml ($ block ->getCurrency ($ _attribute )) ?> ">
94
100
</div>
95
101
</div>
96
102
</div>
You can’t perform that action at this time.
0 commit comments