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