Fix potential undefined error
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 16 Sep 2009 17:41:28 +0000 (11:41 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 16 Sep 2009 17:41:28 +0000 (11:41 -0600)
imp/lib/Views/ListMessages.php

index 33f839f..8105947 100644 (file)
@@ -217,7 +217,7 @@ class IMP_Views_ListMessages
         $result->data = $this->_getOverviewData($imp_mailbox, $mbox, $data, isset($md->search));
 
         /* Get unseen/thread information. */
-        if (!$md->search) {
+        if (!isset($md->search)) {
             $imptree = IMP_Imap_Tree::singleton();
             $info = $imptree->getElementInfo($mbox);
             if (!empty($info)) {