From b05575a930cfa0fc81f5d123098ac044dfa30027 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sun, 19 Jul 2009 05:51:47 -0400
Subject: [PATCH] - cleanup

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

diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 21cedc3..1d3a3df 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -672,7 +672,7 @@
   $attachment = rcmail::get_instance()->plugins->exec_hook('save_attachment', $attachment);
 
   if ($attachment['status']) {
-    unset($attachment['data'], $attachment['status']);
+    unset($attachment['data'], $attachment['status'], $attachment['content_id']);
     return $attachment;
   } else if ($path) {
     @unlink($path);

--
Gitblit v1.9.1