Browse Source

Revert "fix array size"

This reverts commit 5f7cab93e0.
tags/v1.7
Nico Rey 3 years ago
parent
commit
e440b32fe5
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      templates/webpanel/Model/Conn.php

+ 1
- 5
templates/webpanel/Model/Conn.php View File

@@ -62,13 +62,9 @@
} }
break; break;
case 2: // ISS case 2: // ISS
if ($pass['img_count'] == 1) {
$enhacements[] = "-0.png";
} else {
for ($x = 0; $x <= $pass['img_count']; $x+=1) {
for ($x = 0; $x <= $$pass['img_count']; $x+=1) {
$enhacements[] = "-$x.png"; $enhacements[] = "-$x.png";
} }
}
break; break;
} }
return $enhacements; return $enhacements;


Loading…
Cancel
Save