diff --git a/phpgwapi/inc/php3_support_functions.inc.php b/phpgwapi/inc/php3_support_functions.inc.php index 0136497539..7bc9afb37d 100755 --- a/phpgwapi/inc/php3_support_functions.inc.php +++ b/phpgwapi/inc/php3_support_functions.inc.php @@ -60,7 +60,7 @@ @reset($haystack); while(list($key,$value) = each($haystack)) { - if ($haystack[$key]==$needle && (!$strict || gettype($haystack[$key]==gettype($needle))) + if ($haystack[$key]==$needle && (!$strict || gettype($haystack[$key])==gettype($needle))) { return $key; }