Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
Revert to old counting method for side effects
Browse files Browse the repository at this point in the history
  • Loading branch information
ecartz committed Jan 10, 2021
1 parent ae007df commit 9349a91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/categories.php
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,8 @@ function updateNet() {
</div>
<div class="col-sm-9" id="piList">
<?php
foreach ($product->get('images') as $pi_counter => $pi) {
$pi_counter = 0;
foreach ($product->get('images') as $pi) {
$pi_counter++;
echo '<div class="row mb-2" id="piId' . $pi_counter . '">';
echo '<div class="col">';
Expand Down

0 comments on commit 9349a91

Please sign in to comment.