summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-19 09:51:47 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-19 09:51:47 +0000
commit92199e31ddeaa7861d3a13fd6de3ee0058d9b15b (patch)
tree740bbb8c6d876c4cbafe2cfce8a05a211b19822d
parent7ab0a2ba4c1c2e9672acb8900ffb48bf18696625 (diff)
- cleanup
git-svn-id: https://svn.roundcube.net/trunk@2768 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc
index 21cedc336..1d3a3dfe7 100644
--- a/roundcubemail/program/steps/mail/compose.inc
+++ b/roundcubemail/program/steps/mail/compose.inc
@@ -672,7 +672,7 @@ function rcmail_save_attachment(&$message, $pid)
$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);