mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
If no default is set, show nothing for default
This commit is contained in:
parent
6e88374e6f
commit
60a9286f0a
@ -370,7 +370,8 @@ class preferences_settings
|
|||||||
$GLOBALS['egw']->preferences->group[$appname][$setting['name']] :
|
$GLOBALS['egw']->preferences->group[$appname][$setting['name']] :
|
||||||
$GLOBALS['egw']->preferences->default[$appname][$setting['name']];
|
$GLOBALS['egw']->preferences->default[$appname][$setting['name']];
|
||||||
|
|
||||||
if (isset($setting['values']) && !is_array($default) && (string)$setting['values'][$default] !== '')
|
if (isset($setting['values']) && !is_array($default) &&
|
||||||
|
(string)$setting['values'][$default] !== '' && (string)$default !== '')
|
||||||
{
|
{
|
||||||
if(is_array($setting['values'][$default]))
|
if(is_array($setting['values'][$default]))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user