summaryrefslogtreecommitdiff
path: root/program/steps/mail/list.inc
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-12-13 19:56:41 +0100
committerThomas Bruederli <thomas@roundcube.net>2012-12-13 19:56:41 +0100
commitf7136bd21705d8a9edd1110f8bf91dca759d2fb3 (patch)
tree89a37d7a79e544e8845095029be150685785bdab /program/steps/mail/list.inc
parentdc67f38cdfd4390a6f5b302ebc177565536e4447 (diff)
parent87ec1de655af6cdd0a0bbf14e05dce6a3f792f85 (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/steps/mail/list.inc')
-rw-r--r--program/steps/mail/list.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/mail/list.inc b/program/steps/mail/list.inc
index b433f81fc..b8c3ee021 100644
--- a/program/steps/mail/list.inc
+++ b/program/steps/mail/list.inc
@@ -95,6 +95,7 @@ $OUTPUT->set_env('messagecount', $count);
$OUTPUT->set_env('pagecount', $pages);
$OUTPUT->set_env('threading', $threading);
$OUTPUT->set_env('current_page', $count ? $RCMAIL->storage->get_page() : 1);
+$OUTPUT->set_env('exists', $RCMAIL->storage->count($mbox_name, 'EXISTS'));
$OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($count), $mbox_name);
$OUTPUT->command('set_mailboxname', rcmail_get_mailbox_name_text());