Browse Source

Fix for loop

tags/v1.7
Nico Rey 3 years ago
parent
commit
96841061dd
1 changed files with 2 additions and 6 deletions
  1. +2
    -6
      templates/webpanel/Model/Conn.php

+ 2
- 6
templates/webpanel/Model/Conn.php View File

@@ -62,12 +62,8 @@
} }
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) {
$enhacements[] = "-$x.png";
}
for ($x = 0; $x <= $pass['img_count']-1; $x++) {
$enhacements[] = "-$x.png";
} }
break; break;
} }


Loading…
Cancel
Save