summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/getunread.inc
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-05 21:39:08 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-05 21:39:08 +0000
commit38ac1065601a6c780d0092aca93c9d5eeab5b07d (patch)
tree97fd7dcec461507e824ea076471dfac66ae6340c /roundcubemail/program/steps/mail/getunread.inc
parent9bd59469580d4a090d4af2595e63b20dadf9c0ac (diff)
Applied patch for updating page title (#1484727, #1484650)
git-svn-id: https://svn.roundcube.net/trunk@1019 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/getunread.inc')
-rw-r--r--roundcubemail/program/steps/mail/getunread.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/getunread.inc b/roundcubemail/program/steps/mail/getunread.inc
index ae12bc21c..b94a66b57 100644
--- a/roundcubemail/program/steps/mail/getunread.inc
+++ b/roundcubemail/program/steps/mail/getunread.inc
@@ -24,7 +24,7 @@ $a_folders = $IMAP->list_mailboxes();
if (!empty($a_folders))
{
foreach ($a_folders as $mbox_row)
- $OUTPUT->command('set_unread_count', $mbox_row, $IMAP->messagecount($mbox_row, 'UNSEEN'));
+ $OUTPUT->command('set_unread_count', $mbox_row, $IMAP->messagecount($mbox_row, 'UNSEEN'), ($IMAP->get_mailbox_name() == 'INBOX' && $mbox_row == 'INBOX'));
}
$OUTPUT->send();