mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
show a default preference of 0 (was hidden before, but used!)
This commit is contained in:
parent
e6fac03320
commit
4b5176204c
@ -449,7 +449,7 @@ class preferences_settings
|
||||
'type' => $setting['type'],
|
||||
'label' => preg_replace('|<br[ /]*>|i', "\n", $setting['label']),
|
||||
'help' => lang($setting['help']), // is html
|
||||
'default' => !empty($default) ? lang('Default').': '.$default : null,
|
||||
'default' => (string)$default !== '' ? lang('Default').': '.$default : null,
|
||||
'onchange' => $setting['onchange'],
|
||||
);
|
||||
//error_log("appname=$appname, attribute=$attribute, setting=".array2string($setting));
|
||||
|
Loading…
Reference in New Issue
Block a user