summaryrefslogtreecommitdiff
path: root/program/steps/settings/manage_folders.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-04-23 11:47:24 +0000
committeralecpl <alec@alec.pl>2010-04-23 11:47:24 +0000
commita03c98092f7bdb98347876a1a1a4716dfe46be89 (patch)
treebf170aca37de89ab1b5a41a764f60d735594afdc /program/steps/settings/manage_folders.inc
parent2eb7943f2aeaec8efc74b16b7bedb56da9913abf (diff)
- fix IMAP errors on Settings/Folders (always call _id2uid() with mailbox set)
- performance: add option to not checking MAXUID in messagecount()
Diffstat (limited to 'program/steps/settings/manage_folders.inc')
-rw-r--r--program/steps/settings/manage_folders.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/settings/manage_folders.inc b/program/steps/settings/manage_folders.inc
index 9202777f7..54dd0bd92 100644
--- a/program/steps/settings/manage_folders.inc
+++ b/program/steps/settings/manage_folders.inc
@@ -291,7 +291,7 @@ function rcube_subscription_form($attrib)
$table->add_row(array('id' => 'rcmrow'.$idx, 'class' => join(' ', $classes)));
$table->add('name', Q($display_folder));
- $table->add('msgcount', ($folder['virtual'] ? '' : $IMAP->messagecount($folder['id']))); // XXX: Use THREADS or ALL?
+ $table->add('msgcount', ($folder['virtual'] ? '' : $IMAP->messagecount($folder['id'], 'ALL', false, false)));
$table->add('subscribed', ($protected || $folder['virtual']) ? ($subscribed ? '&nbsp;&#x2022;' : '&nbsp;') :
$checkbox_subscribe->show(($subscribed ? $folder_utf8 : ''), array('value' => $folder_utf8)));
if ($threading_supported) {