Skip to content

Commit

Permalink
roll back changes by punit-nms user
Browse files Browse the repository at this point in the history
  • Loading branch information
punit-nms committed Jan 10, 2018
1 parent c0d59a8 commit 6181457
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
<ol class="product-items <?= /* @noEscape */ $type ?>">
<?php $iterator = 1; ?>
<?php foreach ($items as $_item): ?>
<?= /* @noEscape */ ($iterator++ == 1) ? '<li class="product-item">' : '</li><li class="product-item">' ?>
<?php if ($iterator++ != 1): ?></li><?php endif ?>
<li class="product-item">
<div class="product-item-info">
<a href="<?= $block->escapeUrl($block->getProductUrl($_item)) ?>" class="product-item-photo">
<?= $block->getImage($_item, $image)->toHtml() ?>
Expand Down

0 comments on commit 6181457

Please sign in to comment.