Browse Source

fix array size

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

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

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


Loading…
Cancel
Save