1
A report on
XOOPS France made me thinking.
In modules/system/admin/preferences/main.php, there is some kind of nested loop
for ($i = 0; $i < $count; $i++) {
...
for ($i = 0; $i < $dcount; $i++) {
...
foreach (array_keys($imagefiles) as $i) {
and reuse of the variable $i .
Is that correct?
In 2.2.x code there was a foreach in stead of the first for loop, that way, the $i variable was not affected.