Fix thread updating.
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Dec 2008 07:51:47 +0000 (00:51 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Dec 2008 07:51:47 +0000 (00:51 -0700)
imp/lib/Views/ListMessages.php

index e71ed5c..3a02325 100644 (file)
@@ -218,7 +218,7 @@ class IMP_Views_ListMessages
             if ($sortpref['by'] == Horde_Imap_Client::SORT_THREAD) {
                 $threadob = $imp_mailbox->getThreadOb();
                 $imp_thread = new IMP_IMAP_Thread($threadob);
-                $md->thread = array_filter($imp_thread->getThreadTreeOb($msglist, $sortpref['dir']));
+                $md->thread = $imp_thread->getThreadTreeOb($msglist, $sortpref['dir']);
             }
         } else {
             $result->search = 1;