From ae7f9b3d0a648f0d64e23cf8fe1e1e4c42fd795e Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 04 Sep 2009 09:01:46 -0400
Subject: [PATCH] - oops, my foult, remove buggy code
---
program/include/rcube_imap.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 6940bd1..3d8cb84 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -598,7 +598,7 @@
// 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);
--
Gitblit v1.9.1