Preferences: Fix multiselect settings had new values as arrays, old values as strings, which messed up history

This commit is contained in:
nathangray 2019-11-01 11:10:01 -06:00
parent 5c8a19ba26
commit 77a0076a45

View File

@ -247,7 +247,7 @@ class preferences_settings
unset($prefs['']);
//_debug_array($values);exit;
foreach($values as $var => $value)
foreach($values as $var => &$value)
{
// type specific validation
switch((string)$types[$var])