Fix reversed logic
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 6 Oct 2010 17:28:50 +0000 (11:28 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 6 Oct 2010 17:28:55 +0000 (11:28 -0600)
imp/lib/LoginTasks/SystemTask/GarbageCollection.php

index 3ddba8e..73fa76d 100644 (file)
@@ -46,7 +46,7 @@ class IMP_LoginTasks_SystemTask_GarbageCollection extends Horde_LoginTasks_Syste
         $sortpref = @unserialize($GLOBALS['prefs']->getValue('sortpref'));
 
         foreach (array_keys($sortpref) as $key) {
-            if (!$imp_search[$key]) {
+            if ($imp_search[$key]) {
                 unset($sortpref[$key]);
                 $update = true;
             }