diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-01-23 19:09:57 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-01-23 19:09:57 +0000 |
| commit | 94db895439ff18b71f60d42fba578ec73b3be144 (patch) | |
| tree | 37d05dfb697330ff97a313c22fc16658671d6841 /roundcubemail/program | |
| parent | cbb1799b0377b2365b49e87c74691e3c560759b0 (diff) | |
- Fix large search results on server without SORT capability (#1485668)
git-svn-id: https://svn.roundcube.net/trunk@2259 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/include/rcube_imap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_imap.php b/roundcubemail/program/include/rcube_imap.php index f8737e3a2..287c3ee65 100644 --- a/roundcubemail/program/include/rcube_imap.php +++ b/roundcubemail/program/include/rcube_imap.php @@ -687,7 +687,7 @@ class rcube_imap // use memory less expensive (and quick) method for big result set $a_index = $this->message_index($mailbox, $this->sort_field, $this->sort_order); // get messages uids for one page... - $msgs = array_slice(array_keys($a_index), $start_msg, min($cnt-$start_msg, $this->page_size)); + $msgs = array_slice($a_index, $start_msg, min($cnt-$start_msg, $this->page_size)); // ...and fetch headers $this->_fetch_headers($mailbox, join(',', $msgs), $a_msg_headers, NULL); |
