needle <-> haystack

This commit is contained in:
Rudi Grinberg 2012-09-17 14:21:13 -04:00
parent c7c74e18a7
commit ed45011b40
1 changed files with 1 additions and 1 deletions

View File

@ -1101,7 +1101,7 @@ class Application_Model_Preference
} else {
$ds = unserialize($v);
return function ($x) use ($ds) {
if ( in_array($ds['ColReorder'], $x) ) {
if ( in_array($x, $ds['ColReorder'] ) ) {
return $ds['ColReorder'][$x];
} else {
Logging::warn("Index $x does not exist preferences");