Skip to content

Commit 8eff514

Browse files
author
Joan He
committed
MAGETWO-99301: Eliminate @escapeNotVerified in Magento_Shipping module
1 parent 8e79510 commit 8eff514

File tree

1 file changed

+5
-2
lines changed
  • app/code/Magento/Shipping/view/adminhtml/templates/view

1 file changed

+5
-2
lines changed

app/code/Magento/Shipping/view/adminhtml/templates/view/items.phtml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@
1313
</tr>
1414
</thead>
1515
<?php $_items = $block->getShipment()->getAllItems() ?>
16-
<?php $_i = 0; foreach ($_items as $_item):
16+
<?php $_i = 0; foreach ($_items as $_item) :
1717
if (!empty($_item->getOrderItem())) :
18-
if ($_item->getOrderItem()->getParentItem()): continue; endif; $_i++ ?>
18+
if ($_item->getOrderItem()->getParentItem()) :
19+
continue;
20+
endif;
21+
$_i++ ?>
1922
<tbody class="<?= /* @noEscape */ $_i%2 ? 'odd' : 'even' ?>">
2023
<?= $block->getItemHtml($_item) ?>
2124
<?= $block->getItemExtraInfoHtml($_item->getOrderItem()) ?>

0 commit comments

Comments
 (0)