diff options
| author | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2005-12-11 22:56:46 +0000 |
|---|---|---|
| committer | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2005-12-11 22:56:46 +0000 |
| commit | 9b7197a96f70232c254b7ff6ec84de7a9f34b024 (patch) | |
| tree | 79d6562bf69a91ac9aa95af7345a3cc6341eb425 /roundcubemail/program/steps | |
| parent | 2dc87919396cd68a07a20164d0816761dca909ea (diff) | |
Bugfixes on listing and caching functions
git-svn-id: https://svn.roundcube.net/trunk@89 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/func.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index c81dd2fd2..74a967870 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/program/steps/mail/func.inc @@ -528,12 +528,11 @@ function rcmail_get_messagecount_text() if (isset($MESSAGE['index'])) { - $a_msg_index = $IMAP->message_index(); return rcube_label(array('name' => 'messagenrof', 'vars' => array('nr' => $MESSAGE['index']+1, - 'count' => sizeof($a_msg_index)))); + 'count' => $IMAP->messagecount()))); } - + $start_msg = ($IMAP->list_page-1) * $IMAP->page_size + 1; $max = $IMAP->messagecount(); |
