From 9689d6a2b6f49dca95d6b81feadf12ed0962ba55 Mon Sep 17 00:00:00 2001 From: skeeter Date: Sat, 10 Nov 2001 20:48:43 +0000 Subject: [PATCH] Fix for bug #463970. --- phpgwapi/inc/php3_support_functions.inc.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/phpgwapi/inc/php3_support_functions.inc.php b/phpgwapi/inc/php3_support_functions.inc.php index 7bc9afb37d..300c8218ef 100755 --- a/phpgwapi/inc/php3_support_functions.inc.php +++ b/phpgwapi/inc/php3_support_functions.inc.php @@ -44,6 +44,21 @@ } } + function array_keys ($arr, $term="") + { + $t = array(); + while (list($k,$v) = each($arr)) + { + if ($term && $v != $term) + { + continue; + $t[] = $k; + } + return $t; + } + } + + /* function array_reverse ($array, $preserve_keys = FALSE) {