File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
app/code/Magento/Backend/view/adminhtml/templates/dashboard/totalbar Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 55 */
66
77/** @var \Magento\Backend\Block\Template $block */
8+ /** @var \Magento\Framework\Escaper $escaper */
89?>
910<div class="page-actions">
1011 <div class="page-actions-inner">
1314
1415 <?php if ($ block ->getAuthorization ()->isAllowed ('Magento_Reports::statistics ' )): ?>
1516 <form class="action-element"
16- action="<?= $ block ->escapeUrl ($ block ->getUrl ('*/*/refreshStatistics ' )) ?> "
17+ action="<?= $ escaper ->escapeUrl ($ block ->getUrl ('*/*/refreshStatistics ' )) ?> "
1718 method="post">
1819 <input
1920 name="form_key"
2021 type="hidden"
21- value="<?= $ block ->escapeHtmlAttr ($ block ->getFormKey ()) ?> "/>
22+ value="<?= $ escaper ->escapeHtmlAttr ($ block ->getFormKey ()) ?> "/>
2223 <button
2324 class="action-primary"
2425 type="submit"
25- title="<?= $ block ->escapeHtmlAttr (__ ('Reload Data ' )) ?> ">
26- <?= $ block ->escapeHtml (__ ('Reload Data ' )) ?>
26+ title="<?= $ escaper ->escapeHtmlAttr (__ ('Reload Data ' )) ?> ">
27+ <?= $ escaper ->escapeHtml (__ ('Reload Data ' )) ?>
2728 </button>
2829 </form>
2930 <?php endif ; ?>
You can’t perform that action at this time.
0 commit comments