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/move_del.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/move_del.inc')
-rw-r--r-- | program/steps/mail/move_del.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/move_del.inc b/program/steps/mail/move_del.inc index 365078283..5078fb02c 100644 --- a/program/steps/mail/move_del.inc +++ b/program/steps/mail/move_del.inc @@ -71,7 +71,7 @@ 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(); } if ($_POST['_from'] == 'show') |