summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-07-19 09:51:47 +0000
committeralecpl <alec@alec.pl>2009-07-19 09:51:47 +0000
commitb05575a930cfa0fc81f5d123098ac044dfa30027 (patch)
treedf928546fa9aae3895e8ff1c6ce354e69a081624
parent5503cc09f1bd90726daf776c4a87406570241453 (diff)
- cleanup
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 21cedc336..1d3a3dfe7 100644
--- a/program/steps/mail/compose.inc
+++ b/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);