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 5
5
*/
6
6
7
7
/** @var \Magento\Backend\Block\Template $block */
8
+ /** @var \Magento\Framework\Escaper $escaper */
8
9
?>
9
10
<div class="page-actions">
10
11
<div class="page-actions-inner">
13
14
14
15
<?php if ($ block ->getAuthorization ()->isAllowed ('Magento_Reports::statistics ' )): ?>
15
16
<form class="action-element"
16
- action="<?= $ block ->escapeUrl ($ block ->getUrl ('*/*/refreshStatistics ' )) ?> "
17
+ action="<?= $ escaper ->escapeUrl ($ block ->getUrl ('*/*/refreshStatistics ' )) ?> "
17
18
method="post">
18
19
<input
19
20
name="form_key"
20
21
type="hidden"
21
- value="<?= $ block ->escapeHtmlAttr ($ block ->getFormKey ()) ?> "/>
22
+ value="<?= $ escaper ->escapeHtmlAttr ($ block ->getFormKey ()) ?> "/>
22
23
<button
23
24
class="action-primary"
24
25
type="submit"
25
- title="<?= $ block ->escapeHtmlAttr (__ ('Reload Data ' )) ?> ">
26
- <?= $ block ->escapeHtml (__ ('Reload Data ' )) ?>
26
+ title="<?= $ escaper ->escapeHtmlAttr (__ ('Reload Data ' )) ?> ">
27
+ <?= $ escaper ->escapeHtml (__ ('Reload Data ' )) ?>
27
28
</button>
28
29
</form>
29
30
<?php endif ; ?>
You can’t perform that action at this time.
0 commit comments