diff options
author | thomascube <thomas@roundcube.net> | 2011-09-16 19:13:27 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-09-16 19:13:27 +0000 |
commit | 85993b24f8860d7674414fce18acaa8bcef359a5 (patch) | |
tree | f4d55ca5021b37c3e86fccb8ef7b7136efdc150d /program/include/rcube_session.php | |
parent | f593222ef5d5dc3b678618593abb873f4fcd4343 (diff) |
Backport r5226 to release 0.6 branch
Diffstat (limited to 'program/include/rcube_session.php')
-rw-r--r-- | program/include/rcube_session.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/program/include/rcube_session.php b/program/include/rcube_session.php index 14475ca90..dbb9a9e7d 100644 --- a/program/include/rcube_session.php +++ b/program/include/rcube_session.php @@ -333,9 +333,9 @@ class rcube_session */ public function cleanup() { - // current compose information is stored in $_SESSION['compose'], move it to $_SESSION['compose_data'] - if ($_SESSION['compose']) { - $_SESSION['compose_data'][$_SESSION['compose']['id']] = $_SESSION['compose']; + // current compose information is stored in $_SESSION['compose'], move it to $_SESSION['compose_data_<ID>'] + if ($compose_id = $_SESSION['compose']['id']) { + $_SESSION['compose_data_'.$compose_id] = $_SESSION['compose']; $this->remove('compose'); } } |