summaryrefslogtreecommitdiff
path: root/program/steps/mail/attachments.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/attachments.inc
parent612eeca739c00e6e0341c2f039b23cefff8d4945 (diff)
Fix session race conditions when composing new messages
Diffstat (limited to 'program/steps/mail/attachments.inc')
-rw-r--r--program/steps/mail/attachments.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/attachments.inc b/program/steps/mail/attachments.inc
index 4674034a1..ffb164279 100644
--- a/program/steps/mail/attachments.inc
+++ b/program/steps/mail/attachments.inc
@@ -25,7 +25,7 @@ if (!empty($_GET['_progress'])) {
}
$COMPOSE_ID = get_input_value('_id', RCUBE_INPUT_GPC);
-$_SESSION['compose'] = $_SESSION['compose_data'][$COMPOSE_ID];
+$_SESSION['compose'] = $_SESSION['compose_data_'.$COMPOSE_ID];
if (!$_SESSION['compose']) {
die("Invalid session var!");