CC-5588: Specific user can't see Library because ColReorder is null for

their account
This commit is contained in:
Albert Santoni 2014-06-05 18:04:42 -04:00
parent 37053952cd
commit cc19b18d7f

View file

@ -1313,7 +1313,12 @@ class Application_Model_Preference
} }
$ds = unserialize($v); $ds = unserialize($v);
if (is_null($ds) || !is_array($ds)) {
return $id;
}
if (!array_key_exists('ColReorder', $ds)) { if (!array_key_exists('ColReorder', $ds)) {
return $id; return $id;
} }