Missing argument to folderPref()
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 17 Mar 2010 18:37:22 +0000 (12:37 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 17 Mar 2010 18:37:22 +0000 (12:37 -0600)
imp/lib/Views/ListMessages.php

index 3b73f9b..4e262f5 100644 (file)
@@ -119,7 +119,7 @@ class IMP_Views_ListMessages
         if ($args['initial']) {
             if (IMP::isSpecialFolder($mbox)) {
                 $md->special = 1;
-                if ($mbox == IMP::folderPref($GLOBALS['prefs']->getValue('drafts_folder'))) {
+                if ($mbox == IMP::folderPref($GLOBALS['prefs']->getValue('drafts_folder'), true)) {
                     $md->drafts = 1;
                 }
             }