summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-10-26 22:12:36 +0000
committerthomascube <thomas@roundcube.net>2005-10-26 22:12:36 +0000
commitb076a460e5418ae8f0db0b4b392d91853fd2a21b (patch)
tree2528fa73bddf1fe04f35192d611d2dd1f91d0671 /program/include/rcube_imap.inc
parentfa3addfc5d03046cd173fde7e7875bad2badc6da (diff)
Finished message sorting and fixed some skin issues
Diffstat (limited to 'program/include/rcube_imap.inc')
-rw-r--r--program/include/rcube_imap.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_imap.inc b/program/include/rcube_imap.inc
index 47999c860..8253442ab 100644
--- a/program/include/rcube_imap.inc
+++ b/program/include/rcube_imap.inc
@@ -433,7 +433,7 @@ class rcube_imap
}
- // old function; replaced 2005/10/18
+ // original function; replaced 2005/10/18
// private method for listing message header
function _list_headers($mailbox='', $page=NULL, $sort_field='date', $sort_order='DESC')
{
@@ -478,7 +478,7 @@ class rcube_imap
// return complete list of messages
if (strtolower($page)=='all')
return $a_headers;
-
+
$start_msg = ($this->list_page-1) * $this->page_size;
return array_slice($a_headers, $start_msg, $this->page_size);
}