File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
app/code/Magento/Sales/view/adminhtml/templates/order/create Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
/** @var $block \Magento\Sales\Block\Adminhtml\Order\Create\Form\Account */
8
8
?>
9
9
10
- <div class="admin__page-section-title <?= /* @noEscape */ $ block ->getHeaderCssClass () ?> ">
10
+ <div class="admin__page-section-title <?= $ block ->escapeHtmlAttr ( $ block -> getHeaderCssClass () ) ?> ">
11
11
<span class="title"><?= $ block ->escapeHtml ($ block ->getHeaderText ()) ?> </span>
12
12
<div class="actions"></div>
13
13
</div>
Original file line number Diff line number Diff line change 46
46
endif ; ?>
47
47
48
48
<fieldset class="admin__fieldset">
49
- <legend class="admin__legend <?= /* @noEscape */ $ block ->getHeaderCssClass () ?> ">
49
+ <legend class="admin__legend <?= $ block ->escapeHtmlAttr ( $ block -> getHeaderCssClass () ) ?> ">
50
50
<span><?= $ block ->escapeHtml ($ block ->getHeaderText ()) ?> </span>
51
51
</legend><br>
52
52
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ $taxAmount = $block->getTotal()->getValue();
15
15
global $ taxIter ;
16
16
$ taxIter ++;
17
17
?>
18
- <?php $ class = "{$ block ->getTotal ()->getCode ()} " . ($ this ->helper (\Magento \Tax \Helper \Data::class)->displayFullSummary () ? 'summary-total ' : '' ); ?>
18
+ <?php $ class = $ block -> escapeHtmlAttr ( "{$ block ->getTotal ()->getCode ()} " . ($ this ->helper (\Magento \Tax \Helper \Data::class)->displayFullSummary () ? 'summary-total ' : '' ) ); ?>
19
19
<tr<?php if ($ this ->helper (\Magento \Tax \Helper \Data::class)->displayFullSummary ()) : ?>
20
20
onclick="expandDetails(this, '.summary-details-<?= $ block ->escapeJs ($ taxIter ) ?> ')"
21
21
<?php endif ; ?>
You can’t perform that action at this time.
0 commit comments