summaryrefslogtreecommitdiff
path: root/program/steps/mail/func.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-09-16 19:13:27 +0000
committerthomascube <thomas@roundcube.net>2011-09-16 19:13:27 +0000
commit85993b24f8860d7674414fce18acaa8bcef359a5 (patch)
treef4d55ca5021b37c3e86fccb8ef7b7136efdc150d /program/steps/mail/func.inc
parentf593222ef5d5dc3b678618593abb873f4fcd4343 (diff)
Backport r5226 to release 0.6 branch
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r--program/steps/mail/func.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 0c19b661b..8b57c9e11 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1427,12 +1427,12 @@ function rcmail_message_part_frame($attrib)
*/
function rcmail_compose_cleanup($id)
{
- if (!isset($_SESSION['compose_data'][$id]))
+ if (!isset($_SESSION['compose_data_'.$id]))
return;
$rcmail = rcmail::get_instance();
$rcmail->plugins->exec_hook('attachments_cleanup', array('group' => $id));
- unset($_SESSION['compose_data'][$id]);
+ $rcmail->session->remove('compose_data_'.$id);
}