summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-04 13:01:46 +0000
committeralecpl <alec@alec.pl>2009-09-04 13:01:46 +0000
commitae7f9b3d0a648f0d64e23cf8fe1e1e4c42fd795e (patch)
tree5a5c152b97a2472965e97e2ae2d5b8fd6c2bfd23
parente6f484250561b6e9c8fe72cde0f1a633e88103ae (diff)
- oops, my foult, remove buggy code
-rw-r--r--program/include/rcube_imap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 6940bd19f..3d8cb84b8 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -598,7 +598,7 @@ class rcube_imap
// retrieve headers from IMAP
$a_msg_headers = array();
- if (!$this->get_capability('sort') && ($msg_index = iil_C_Sort($this->conn, $mailbox, $this->sort_field, $this->skip_deleted ? 'UNDELETED' : '')))
+ if ($this->get_capability('sort') && ($msg_index = iil_C_Sort($this->conn, $mailbox, $this->sort_field, $this->skip_deleted ? 'UNDELETED' : '')))
{
list($begin, $end) = $this->_get_message_range(count($msg_index), $page);
$max = max($msg_index);