diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-04-08 13:21:24 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-04-08 13:21:24 +0000 |
| commit | d21ddd2f3ef08ce2a1331293eef78df79c50e532 (patch) | |
| tree | d0c8a41a4c996c0f1714a754bedd56edf56cbd16 /roundcubemail/program/steps/mail | |
| parent | 9375f350eba62a27c27e1ab7765443fe9aac602b (diff) | |
Fixed check for new messages (closes #1484310)
git-svn-id: https://svn.roundcube.net/trunk@539 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail')
| -rw-r--r-- | roundcubemail/program/steps/mail/check_recent.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/mail/check_recent.inc b/roundcubemail/program/steps/mail/check_recent.inc index 5846699e7..ca35725ea 100644 --- a/roundcubemail/program/steps/mail/check_recent.inc +++ b/roundcubemail/program/steps/mail/check_recent.inc @@ -29,12 +29,12 @@ foreach ($a_mailboxes as $mbox_name) { if ($recent_count = $IMAP->messagecount(NULL, 'RECENT', TRUE)) { - $count = $IMAP->messagecount(); + $count = $IMAP->messagecount(NULL, 'ALL', TRUE); $unread_count = $IMAP->messagecount(NULL, 'UNSEEN', TRUE); $commands .= sprintf("this.set_unread_count('%s', %d);\n", addslashes($mbox_name), $unread_count); $commands .= sprintf("this.set_env('messagecount', %d);\n", $count); - $commands .= sprintf("this.set_rowcount('%s');\n", rcmail_get_messagecount_text()); + $commands .= sprintf("this.set_rowcount('%s');\n", rcmail_get_messagecount_text($count)); $commands .= sprintf("this.set_quota('%s');\n", $IMAP->get_quota()); // add new message headers to list |
