diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-06-30 12:26:15 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-06-30 12:26:15 +0200 |
commit | b8bcca7033b3d10eb7da4b7a1f9987ee9e25a45b (patch) | |
tree | 4d587c1a4b6f238a5e4ad2721a482346060ad482 /program/steps/mail/check_recent.inc | |
parent | 789a7b5fd5986b4815837bbbaa27c2d95030ce0c (diff) |
Display quota information for current folder not INBOX only (#1487993)
Diffstat (limited to 'program/steps/mail/check_recent.inc')
-rw-r--r-- | program/steps/mail/check_recent.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/program/steps/mail/check_recent.inc b/program/steps/mail/check_recent.inc index 70f4c03a6..b95819415 100644 --- a/program/steps/mail/check_recent.inc +++ b/program/steps/mail/check_recent.inc @@ -77,12 +77,13 @@ foreach ($a_mailboxes as $mbox_name) { if ($search_request && isset($_SESSION['search'])) { unset($search_request); // only do this once $_SESSION['search'] = $RCMAIL->storage->refresh_search(); - if ($_SESSION['search'][1]->multi) + if ($_SESSION['search'][1]->multi) { $mbox_name = ''; + } } if (!empty($_POST['_quota'])) { - $OUTPUT->command('set_quota', $RCMAIL->quota_content()); + $OUTPUT->command('set_quota', $RCMAIL->quota_content(null, $mbox_name)); } $OUTPUT->set_env('exists', $RCMAIL->storage->count($mbox_name, 'EXISTS', true)); |