summaryrefslogtreecommitdiff
path: root/program/steps/mail/mark.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/mark.inc
parenta527781d5ae365c926c137a6c59895421aeab951 (diff)
Applied patch for updating page title (#1484727, #1484650)
Diffstat (limited to 'program/steps/mail/mark.inc')
-rw-r--r--program/steps/mail/mark.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/mark.inc b/program/steps/mail/mark.inc
index 74510abe9..53194b5ab 100644
--- a/program/steps/mail/mark.inc
+++ b/program/steps/mail/mark.inc
@@ -32,7 +32,7 @@ if (($uids = get_input_value('_uid', RCUBE_INPUT_POST)) && ($flag = get_input_va
if ($marked != -1)
{
$mbox_name = $IMAP->get_mailbox_name();
- $OUTPUT->command('set_unread_count', $mbox_name, $IMAP->messagecount($mbox_name, 'UNSEEN'));
+ $OUTPUT->command('set_unread_count', $mbox_name, $IMAP->messagecount($mbox_name, 'UNSEEN'), ($mbox_name == 'INBOX'));
$OUTPUT->send();
}
}