From cc19b18d7fd31f22e65b8716a2c069269ba22715 Mon Sep 17 00:00:00 2001 From: Albert Santoni Date: Thu, 5 Jun 2014 18:04:42 -0400 Subject: [PATCH] CC-5588: Specific user can't see Library because ColReorder is null for their account --- airtime_mvc/application/models/Preference.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/airtime_mvc/application/models/Preference.php b/airtime_mvc/application/models/Preference.php index 27d343800..c873ea88f 100644 --- a/airtime_mvc/application/models/Preference.php +++ b/airtime_mvc/application/models/Preference.php @@ -1313,7 +1313,12 @@ class Application_Model_Preference } $ds = unserialize($v); - + + + if (is_null($ds) || !is_array($ds)) { + return $id; + } + if (!array_key_exists('ColReorder', $ds)) { return $id; }