mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
Fix demonstrated default value is shown as raw value instead of its relevant label
This commit is contained in:
parent
3c35137e2c
commit
68351ffb37
@ -698,6 +698,10 @@ class preferences_settings
|
||||
$def = is_array($value[$def]) ? $value[$def]['label'] : $value[$def];
|
||||
break;
|
||||
}
|
||||
elseif(is_array($value) && isset($value['label']) && $value['value'] == $def)
|
||||
{
|
||||
$def = $value['label'];
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($lang) $def = lang($def);
|
||||
|
Loading…
Reference in New Issue
Block a user