File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/Shipping/view/frontend/templates/tracking Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ $fields = [
21
21
];
22
22
$ number = is_object ($ track ) ? $ track ->getTracking () : $ track ['number ' ];
23
23
?>
24
- <table class="data table order tracking" id="tracking-table-popup-<?= /* @noEscape */ $ number ?> ">
24
+ <table class="data table order tracking" id="tracking-table-popup-<?= $ block -> escapeHtml ( $ number) ?> ">
25
25
<caption class="table-caption"><?= $ block ->escapeHtml (__ ('Order tracking ' )) ?> </caption>
26
26
<tbody>
27
27
<?php if (is_object ($ track )): ?>
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ $parentBlock = $block->getParentBlock();
11
11
$ track = $ block ->getData ('track ' );
12
12
?>
13
13
<div class="table-wrapper">
14
- <table class="data table order tracking" id="track-history-table-<?= /* @noEscape */ $ track ->getTracking () ?> ">
14
+ <table class="data table order tracking" id="track-history-table-<?= $ block -> escapeHtml ( $ track ->getTracking () ) ?> ">
15
15
<caption class="table-caption"><?= $ block ->escapeHtml (__ ('Track history ' )) ?> </caption>
16
16
<thead>
17
17
<tr>
You can’t perform that action at this time.
0 commit comments