Make sure all special mailboxes are sent when rebuilding mailbox tree
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 10 Feb 2010 05:59:13 +0000 (22:59 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 10 Feb 2010 06:10:43 +0000 (23:10 -0700)
imp/lib/Ajax/Application.php

index a4a24eb..16249ea 100644 (file)
@@ -313,7 +313,7 @@ class IMP_Ajax_Application extends Horde_Ajax_Application_Base
         /* Add special folders explicitly to the initial folder list, since
          * they are ALWAYS displayed and may appear outside of the folder
          * slice requested. */
-        if ($vars->initial) {
+        if ($vars->initial || $vars->reload) {
             foreach ($imptree->getSpecialMailboxes() as $val) {
                 if (!is_array($val)) {
                     $val = array($val);