mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +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;
|
||||
}
|
||||
|
||||
if (isset($value) && $value !== '' && $value !== '**NULL**')
|
||||
if (isset($value) && $value !== '' && $value !== '**NULL**' && $value !== array())
|
||||
{
|
||||
if (is_array($value)) $value = implode(',',$value); // multiselect
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user