alecpl
2008-05-02 c5cc386da4d2a8a3fb11254127fb36c11bdc326a
program/include/rcube_imap.php
@@ -465,7 +465,7 @@
    if (!$force && is_array($a_mailbox_cache[$mailbox]) && isset($a_mailbox_cache[$mailbox][$mode]))
      return $a_mailbox_cache[$mailbox][$mode];
    // RECENT count is fetched abit different
    // RECENT count is fetched a bit different
    if ($mode == 'RECENT')
       $count = iil_C_CheckForRecent($this->conn, $mailbox);
@@ -669,7 +669,7 @@
    // fetch reuested headers from server
    $a_msg_headers = array();
    $this->_fetch_headers($mailbox, join(',', $msgs), $a_msg_headers, NULL);
    $this->_fetch_headers($mailbox, $msgs, $a_msg_headers, NULL);
    // return empty array if no messages found
    if (!is_array($a_msg_headers) || empty($a_msg_headers))