From e2ceed61ac01a95430a554e12c919380318a66b0 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 2 Feb 2017 11:26:57 +0100 Subject: [PATCH] * Mail: Fix forwardinline breaks a mail with winmail.dat attachment --- mail/inc/class.mail_compose.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')