Skip to content

Commit

Permalink
Fixed issue #22788
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav-473 authored May 8, 2019
1 parent 49a25f2 commit 84da62e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
?>
<?php $_shipment = $block->getShipment() ?>
<?php $_order = $block->getOrder() ?>
<?php if ($_shipment && $_order): ?>
<?php $trackCollection = $_order->getTracksCollection($_shipment->getId()) ?>
<?php if ($_shipment && $_order && $trackCollection): ?>
<?php if ($trackCollection): ?>
<br />
<table class="shipment-track">
<thead>
Expand All @@ -29,3 +30,4 @@
</tbody>
</table>
<?php endif; ?>
<?php endif; ?>

0 comments on commit 84da62e

Please sign in to comment.