diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-01-16 15:41:19 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-01-16 15:41:19 +0100 |
commit | 2c33c7e38bc767330b4eebdc9e4d234caca72966 (patch) | |
tree | 4dc81413ed6366c0c942fb67ca8aa7e39d049647 /program/steps/mail/func.inc | |
parent | 2baeac116abef9d5bcb748c687577d16dce868a0 (diff) |
Make message pagenav (prev/next) work with sorted multi-folder search results
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r-- | program/steps/mail/func.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 3848ec540..45d4242f9 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -76,9 +76,11 @@ if (($_uid = get_input_value('_uid', RCUBE_INPUT_GPC)) && preg_match('/^\d+-[^, $_REQUEST['_uid'] = $_uid; unset($_uid); - if (empty($_REQUEST['_mbox']) && !empty($mbox)) { + // override mbox + if (!empty($mbox)) { $_GET['_mbox'] = $mbox; $_POST['_mbox'] = $mbox; + $RCMAIL->storage->set_folder(($_SESSION['mbox'] = $mbox)); } } |