summaryrefslogtreecommitdiff
path: root/program/steps/mail/list.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/list.inc
parenta527781d5ae365c926c137a6c59895421aeab951 (diff)
Applied patch for updating page title (#1484727, #1484650)
Diffstat (limited to 'program/steps/mail/list.inc')
-rw-r--r--program/steps/mail/list.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/steps/mail/list.inc b/program/steps/mail/list.inc
index 8caf4c06f..e2fafc2fc 100644
--- a/program/steps/mail/list.inc
+++ b/program/steps/mail/list.inc
@@ -52,9 +52,6 @@ $OUTPUT->set_env('messagecount', $count);
$OUTPUT->set_env('pagecount', $pages);
$OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($count));
-// update mailboxlist
-$OUTPUT->command('set_unread_count', $mbox_name, $unseen);
-
// add message rows
if (isset($a_headers) && count($a_headers))
@@ -62,6 +59,9 @@ if (isset($a_headers) && count($a_headers))
else
$OUTPUT->show_message('nomessagesfound', 'notice');
+// update mailboxlist
+$OUTPUT->command('set_unread_count', $mbox_name, $unseen, ($mbox_name == 'INBOX'));
+
// send response
$OUTPUT->send();