diff --git a/airtime_mvc/application/models/Preference.php b/airtime_mvc/application/models/Preference.php index c73426a2d..9984e49bc 100644 --- a/airtime_mvc/application/models/Preference.php +++ b/airtime_mvc/application/models/Preference.php @@ -1101,7 +1101,7 @@ class Application_Model_Preference } else { $ds = unserialize($v); return function ($x) use ($ds) { - if ( in_array($x, $ds['ColReorder'] ) ) { + if ( array_key_exists($x, $ds['ColReorder'] ) ) { return $ds['ColReorder'][$x]; } else { Logging::warn("Index $x does not exist preferences");