summaryrefslogtreecommitdiff
path: root/program/steps/mail/func.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-12-11 22:56:46 +0000
committerthomascube <thomas@roundcube.net>2005-12-11 22:56:46 +0000
commit31b2cee231cf5a154c87cccc1228df7b3bb1bf84 (patch)
tree0754cd0ea719eca66b6efd91e5155a2497d7bc80 /program/steps/mail/func.inc
parent1cded85790206afe084e1baff371c543711b2b18 (diff)
Bugfixes on listing and caching functions
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r--program/steps/mail/func.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index c81dd2fd2..74a967870 100644
--- a/program/steps/mail/func.inc
+++ b/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();