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

This commit is contained in:
Ralf Becker 2004-08-24 19:48:25 +00:00
parent b41e47d762
commit 7a4633e383

View File

@ -1216,6 +1216,8 @@
} }
} }
} }
// in case some stupid old code expects the array-pointer to be at the start of the array
reset($var);
} }
} }
@ -1235,7 +1237,6 @@
if (is_array($GLOBALS[$where])) if (is_array($GLOBALS[$where]))
{ {
_check_script_tag($GLOBALS[$where],$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
} }
} }
?> ?>