From ea66cef9bc7e1b3667893a267a9eaea357417f28 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 26 Oct 2011 08:39:25 -0400
Subject: [PATCH] - Fix removing compose data from session after sending a message

---
 program/steps/mail/func.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index f9352a3..7ea2f29 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1427,6 +1427,7 @@
   $rcmail = rcmail::get_instance();
   $rcmail->plugins->exec_hook('attachments_cleanup', array('group' => $id));
   $rcmail->session->remove('compose_data_'.$id);
+  $rcmail->session->remove('compose');
 }
 
 

--
Gitblit v1.9.1