quitened warning if there are no customfields defined yet

This commit is contained in:
Ralf Becker 2005-11-08 14:26:36 +00:00
parent 37a5d611c0
commit 402b114918

View File

@ -291,6 +291,6 @@
//merge old config_name in phpgw_config table
$config_name = isset($config['customfields']) ? 'customfields' : 'custom_fields';
return $config[$config_name];
return is_array($config[$config_name]) ? $config[$config_name] : array();
}
}