diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index c852469b39..d333773577 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -1752,7 +1752,7 @@ class mail_compose unset($this->sessionData['in-reply-to']); unset($this->sessionData['to']); unset($this->sessionData['cc']); - if(($attachments = $mail_bo->getMessageAttachments($_uid,$_partID))) { + if(($attachments = $mail_bo->getMessageAttachments($_uid,$_partID,null,true,false,false))) { //error_log(__METHOD__.__LINE__.':'.array2string($attachments)); foreach($attachments as $attachment) { if (!($attachment['cid'] && preg_match("/image\//",$attachment['mimeType'])) || $attachment['disposition'] == 'attachment')