diff options
author | alecpl <alec@alec.pl> | 2011-09-20 19:17:04 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-09-20 19:17:04 +0000 |
commit | e99b3f2e6e83c38d959e52e09fd833ec90fd39b2 (patch) | |
tree | f41a01f51dd86cb94fee83460f2b678c0abe4845 /program/include/rcube_imap.php | |
parent | eeae0db10cbd645a6f4abe6a16b2876cd1f0afe5 (diff) |
- Fix listing messages on servers without SORT and THREAD command
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r-- | program/include/rcube_imap.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 95e352a1b..03dc90a0c 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -911,7 +911,7 @@ class rcube_imap } // fetch specified header for all messages and sort else if ($msg_index = $this->conn->fetchHeaderIndex($mailbox, "1:*", - $this->sort_field, $this->skip_deleted, true) + $this->sort_field, $this->skip_deleted) ) { asort($msg_index); // ASC $msg_index = array_keys($msg_index); @@ -923,7 +923,7 @@ class rcube_imap $msg_index = array_slice($msg_index, ($this->sort_order == 'DESC' ? 0 : -$slice), $slice); // fetch reqested headers from server - $a_msg_headers = $this->fetch_headers($mailbox, $msg_index, true); + $a_msg_headers = $this->fetch_headers($mailbox, $msg_index); } // return empty array if no messages found |