summaryrefslogtreecommitdiff
path: root/program/steps/mail/folders.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-12-12 19:59:08 +0100
committerAleksander Machniak <alec@alec.pl>2012-12-12 19:59:08 +0100
commit04689fa7ee89c29b57278a354b39d9ee5397a442 (patch)
tree9f58631180d1341d915aba5e9ee4824853383017 /program/steps/mail/folders.inc
parent0435f40999564586dd9bd9669696ec04c16f2e32 (diff)
Fix so compacting of non-empty folder is possible also when messages list is empty (#1488858)
Diffstat (limited to 'program/steps/mail/folders.inc')
-rw-r--r--program/steps/mail/folders.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/mail/folders.inc b/program/steps/mail/folders.inc
index c56c914cd..574d6e975 100644
--- a/program/steps/mail/folders.inc
+++ b/program/steps/mail/folders.inc
@@ -65,6 +65,7 @@ else if ($RCMAIL->action == 'purge')
if (!empty($_REQUEST['_reload'])) {
$OUTPUT->set_env('messagecount', 0);
$OUTPUT->set_env('pagecount', 0);
+ $OUTPUT->set_env('exists', 0);
$OUTPUT->command('message_list.clear');
$OUTPUT->command('set_rowcount', rcmail_get_messagecount_text(), $mbox);
$OUTPUT->command('set_unread_count', $mbox, 0);