mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
fixed forced, but empty multiselect was stored as empty string and therefore overwrote user prefs
This commit is contained in:
parent
2123b7cbbf
commit
8099b8eb4c
@ -218,7 +218,7 @@ class preferences_settings
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($value) && $value !== '' && $value !== '**NULL**')
|
if (isset($value) && $value !== '' && $value !== '**NULL**' && $value !== array())
|
||||||
{
|
{
|
||||||
if (is_array($value)) $value = implode(',',$value); // multiselect
|
if (is_array($value)) $value = implode(',',$value); // multiselect
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user