mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02: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
|
//merge old config_name in phpgw_config table
|
||||||
$config_name = isset($config['customfields']) ? 'customfields' : 'custom_fields';
|
$config_name = isset($config['customfields']) ? 'customfields' : 'custom_fields';
|
||||||
|
|
||||||
return $config[$config_name];
|
return is_array($config[$config_name]) ? $config[$config_name] : array();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user