From 9349a91680ff7dd1151c13bd27384f1adb7d036d Mon Sep 17 00:00:00 2001 From: Matt Fletcher Date: Sun, 10 Jan 2021 13:00:04 +0000 Subject: [PATCH] Revert to old counting method for side effects --- admin/categories.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/categories.php b/admin/categories.php index e9c81a7d5..511593c4e 100644 --- a/admin/categories.php +++ b/admin/categories.php @@ -690,7 +690,8 @@ function updateNet() {
get('images') as $pi_counter => $pi) { + $pi_counter = 0; + foreach ($product->get('images') as $pi) { $pi_counter++; echo '
'; echo '
';