fixing the fix, now even all sub-arrays get reset

This commit is contained in:
Ralf Becker 2004-08-24 20:01:49 +00:00
parent acc5c0dfb0
commit d5b8419f8d

View File

@ -1220,6 +1220,8 @@
}
}
}
// in case some stupid old code expects the array-pointer to be at the start of the array
reset($var);
}
}
@ -1239,7 +1241,6 @@
if (is_array($GLOBALS[$where]))
{
_check_script_tag($GLOBALS[$where],$where);
reset($GLOBALS[$where]); // in case some stupid old code expects the array-pointer to be at the start of the array
}
}
?>