Same fix as commit 377766293f for mail display

This commit is contained in:
Hadi Nategh 2019-07-29 11:18:26 +02:00
parent 6229760af0
commit 1125857730

View File

@ -5784,7 +5784,7 @@ class Mail
$attachment['mimeType'] = $mime_type;
$attachment['uid'] = $_uid;
$attachment['partID'] = $mime_id;
if (!isset($attachment['name'])||empty($attachment['name'])) $attachment['name'] = $part->getName();
if (!isset($attachment['name'])||empty($attachment['name'])) $attachment['name'] = $part->getName() ? $part->getName() : lang('forwarded message');
if ($fetchTextCalendar)
{
//error_log(__METHOD__.' ('.__LINE__.') '.array2string($part->getAllContentTypeParameters()));