summaryrefslogtreecommitdiff
path: root/program/steps/mail/getunread.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-02-05 21:39:08 +0000
committerthomascube <thomas@roundcube.net>2008-02-05 21:39:08 +0000
commitcf1f0f97b23e1d22ee087436edc283da59bfb6ce (patch)
tree5868c142caf39d1b05d2231b7b41f0324b7861de /program/steps/mail/getunread.inc
parenta527781d5ae365c926c137a6c59895421aeab951 (diff)
Applied patch for updating page title (#1484727, #1484650)
Diffstat (limited to 'program/steps/mail/getunread.inc')
-rw-r--r--program/steps/mail/getunread.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/getunread.inc b/program/steps/mail/getunread.inc
index ae12bc21c..b94a66b57 100644
--- a/program/steps/mail/getunread.inc
+++ b/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();