diff options
author | alecpl <alec@alec.pl> | 2010-10-13 19:15:51 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-10-13 19:15:51 +0000 |
commit | f6aac389bfc29e0f6d1f2d43aa900a2ba017bc2f (patch) | |
tree | d9c57cca7f4f110c96a16063b7000bceac77a5cf /program/steps/mail/mark.inc | |
parent | ad334a12579f21e4e04a47e257b9d0ac71d50b98 (diff) |
- Minimize session data size by storing only last search result
and by removing search result from session after listing with empty search filter
Diffstat (limited to 'program/steps/mail/mark.inc')
-rw-r--r-- | program/steps/mail/mark.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/mark.inc b/program/steps/mail/mark.inc index a24714e3a..9266cf404 100644 --- a/program/steps/mail/mark.inc +++ b/program/steps/mail/mark.inc @@ -72,7 +72,7 @@ if (($uids = get_input_value('_uid', RCUBE_INPUT_POST)) && ($flag = get_input_va } else { // refresh saved search set after moving some messages if (($search_request = get_input_value('_search', RCUBE_INPUT_GPC)) && $IMAP->search_set) { - $_SESSION['search'][$search_request] = $IMAP->refresh_search(); + $_SESSION['search'] = $IMAP->refresh_search(); } $msg_count = $IMAP->messagecount(NULL, $IMAP->threading ? 'THREADS' : 'ALL'); |