forked from extern/egroupware
fixing the fix, now even all sub-arrays get reset
This commit is contained in:
parent
acc5c0dfb0
commit
d5b8419f8d
@ -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
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user