summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_imap.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-20 19:17:04 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-20 19:17:04 +0000
commitd4a797e3caa1d81e7a3f7af65d07c68ca547af0b (patch)
tree3068bfebe6bc898ee91c49a1457e54bc4a541f19 /roundcubemail/program/include/rcube_imap.php
parent112765f78771686162f42d1f0afae7e33d7d6bff (diff)
- Fix listing messages on servers without SORT and THREAD command
git-svn-id: https://svn.roundcube.net/trunk@5254 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_imap.php')
-rw-r--r--roundcubemail/program/include/rcube_imap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcube_imap.php b/roundcubemail/program/include/rcube_imap.php
index 95e352a1b..03dc90a0c 100644
--- a/roundcubemail/program/include/rcube_imap.php
+++ b/roundcubemail/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