From 7a4633e383e30ee37230762bbdb61128cebb9ae7 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 24 Aug 2004 19:48:25 +0000 Subject: [PATCH] fixing the fix, no even all sub-arrays get reset --- phpgwapi/inc/common_functions.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/common_functions.inc.php b/phpgwapi/inc/common_functions.inc.php index 2c4ea2161a..140b95e39f 100755 --- a/phpgwapi/inc/common_functions.inc.php +++ b/phpgwapi/inc/common_functions.inc.php @@ -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])) { _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 } } ?>