Aleksander Machniak
2014-06-30 b8bcca7033b3d10eb7da4b7a1f9987ee9e25a45b
program/steps/mail/check_recent.inc
@@ -77,12 +77,13 @@
        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));