summaryrefslogtreecommitdiff
path: root/program/steps/mail/sendmail.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-09-16 17:53:35 +0000
committerthomascube <thomas@roundcube.net>2011-09-16 17:53:35 +0000
commit06dc9838e0327c9472cbd3f353b40317eba0ecef (patch)
tree5453f347243a0fdc72fe0e201af3faa7890d0be9 /program/steps/mail/sendmail.inc
parent612eeca739c00e6e0341c2f039b23cefff8d4945 (diff)
Fix session race conditions when composing new messages
Diffstat (limited to 'program/steps/mail/sendmail.inc')
-rw-r--r--program/steps/mail/sendmail.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc
index f81c1529d..7850859f3 100644
--- a/program/steps/mail/sendmail.inc
+++ b/program/steps/mail/sendmail.inc
@@ -27,7 +27,7 @@ $OUTPUT->framed = TRUE;
$savedraft = !empty($_POST['_draft']) ? true : false;
$COMPOSE_ID = get_input_value('_id', RCUBE_INPUT_GPC);
-$_SESSION['compose'] = $_SESSION['compose_data'][$COMPOSE_ID];
+$_SESSION['compose'] = $_SESSION['compose_data_'.$COMPOSE_ID];
/****** checks ********/