mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
quitened warning if there are no customfields defined yet
This commit is contained in:
parent
37a5d611c0
commit
402b114918
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user