fix setValue call
authorChuck Hagenbuch <chuck@horde.org>
Wed, 10 Jun 2009 02:32:05 +0000 (22:32 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Wed, 10 Jun 2009 02:32:05 +0000 (22:32 -0400)
imp/lib/IMP.php

index fd8465c..6835817 100644 (file)
@@ -1109,7 +1109,7 @@ class IMP
              * See Bug #7296. */
             if ($sortby > 10) {
                 $sortby = Horde_Imap_Client::SORT_ARRIVAL;
-                $GLOBALS['prefs']->setValue($sortby);
+                $GLOBALS['prefs']->setValue('sortby', $sortby);
             }
         }