Skip to content

Commit

Permalink
Check if track progressdetail is an array (#1982)
Browse files Browse the repository at this point in the history
  • Loading branch information
elidrissidev authored Jan 17, 2022
1 parent 2a34c4e commit 3486d5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
</tbody>
</table>
<script type="text/javascript">decorateTable('tracking-table-popup-<?php echo $_id++ ?>');</script>
<?php if (is_object($track) && sizeof($track->getProgressdetail())>0): ?>
<?php if (is_object($track) && is_array($track->getProgressdetail()) && count($track->getProgressdetail()) > 0): ?>
<br />
<table class="data-table" id="track-history-table-<?php echo $track->getTracking(); ?>">
<col />
Expand Down

0 comments on commit 3486d5a

Please sign in to comment.