CC-5588: Specific user can't see Library because ColReorder is null for
their account
This commit is contained in:
parent
37053952cd
commit
cc19b18d7f
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue