mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Fix inline forward an email from draft folder does not include attachments
This commit is contained in:
parent
ed6069aa4d
commit
4b6293cfe1
@ -1754,7 +1754,7 @@ class mail_compose
|
|||||||
if(($attachments = $mail_bo->getMessageAttachments($_uid,$_partID))) {
|
if(($attachments = $mail_bo->getMessageAttachments($_uid,$_partID))) {
|
||||||
//error_log(__METHOD__.__LINE__.':'.array2string($attachments));
|
//error_log(__METHOD__.__LINE__.':'.array2string($attachments));
|
||||||
foreach($attachments as $attachment) {
|
foreach($attachments as $attachment) {
|
||||||
if (!($attachment['cid'] && preg_match("/image\//",$attachment['mimeType'])))
|
if (!($attachment['cid'] && preg_match("/image\//",$attachment['mimeType'])) || $attachment['disposition'] == 'attachment')
|
||||||
{
|
{
|
||||||
$this->addMessageAttachment($_uid, $attachment['partID'],
|
$this->addMessageAttachment($_uid, $attachment['partID'],
|
||||||
$_folder,
|
$_folder,
|
||||||
|
Loading…
Reference in New Issue
Block a user