mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix incorrect display of default number format
Pass an array instead of CSV if needed.
This commit is contained in:
parent
0a1ee38b40
commit
cfcbe3018d
@ -697,7 +697,7 @@ class preferences_settings
|
||||
protected static function get_default_label($default, array $values, $lang=true)
|
||||
{
|
||||
// explode comma-separated multiple default values
|
||||
if (!is_array($default) && !isset($values[$default]) && strpos($default, ',') !== false)
|
||||
if(!is_array($default) && !isset($values[$default]) && strpos($default, ',') > 0)
|
||||
{
|
||||
$labels = explode(',', $default);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user