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/steps/mail/compose.inc | |
parent | f593222ef5d5dc3b678618593abb873f4fcd4343 (diff) |
Backport r5226 to release 0.6 branch
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r-- | program/steps/mail/compose.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 4449ea0b2..00d4b6421 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -29,7 +29,7 @@ $MESSAGE_FORM = NULL; $MESSAGE = NULL; $COMPOSE_ID = get_input_value('_id', RCUBE_INPUT_GET); -$_SESSION['compose'] = $_SESSION['compose_data'][$COMPOSE_ID]; +$_SESSION['compose'] = $_SESSION['compose_data_'.$COMPOSE_ID]; // Nothing below is called during message composition, only at "new/forward/reply/draft" initialization or // if a compose-ID is given (i.e. when the compose step is opened in a new window/tab). @@ -39,7 +39,7 @@ if (!is_array($_SESSION['compose'])) if ($COMPOSE_ID) raise_error(array('code' => 500, 'type' => 'php', 'file' => __FILE__, 'line' => __LINE__, - 'message' => "Invalid session"), true, true); + 'message' => "Invalid compose ID"), true, true); $_SESSION['compose'] = array( 'id' => uniqid(mt_rand()), |