diff --git a/setup/inc/phpgw_setup.inc.php b/setup/inc/phpgw_setup.inc.php index 7a3b395616..e6ee010529 100644 --- a/setup/inc/phpgw_setup.inc.php +++ b/setup/inc/phpgw_setup.inc.php @@ -186,10 +186,15 @@ } // This is a php3/4 compliant in_array(), used only below in check_db() so far - function isinarray($needle,$haystack=array()) + function isinarray($needle,$haystack='') { - for($i=0;$i