mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-09 16:28:00 +08:00
Maybe solution for #867
This commit is contained in:
parent
da4b9684b4
commit
65bf9be580
2 changed files with 1 additions and 2 deletions
|
@ -473,7 +473,6 @@ class BodyStructure
|
|||
++$iExtraItemPos;
|
||||
|
||||
$sDisposition = '';
|
||||
$sFileName = '';
|
||||
|
||||
if ($iExtraItemPos < \count($aBodyStructure)) {
|
||||
$aDispList = $aBodyStructure[$iExtraItemPos];
|
||||
|
|
|
@ -100,7 +100,7 @@ class Attachment implements \JsonSerializable
|
|||
'MimeIndex' => (string) $this->oBodyStructure->PartID(),
|
||||
'MimeType' => $this->oBodyStructure->ContentType(),
|
||||
'MimeTypeParams' => $this->oBodyStructure->ContentTypeParameters(),
|
||||
'FileName' => \MailSo\Base\Utils::SecureFileName($this->oBodyStructure->FileName(true)),
|
||||
'FileName' => \MailSo\Base\Utils::SecureFileName($this->FileName(true)),
|
||||
'EstimatedSize' => $this->oBodyStructure->EstimatedSize(),
|
||||
'Cid' => $this->oBodyStructure->ContentID(),
|
||||
'ContentLocation' => $this->oBodyStructure->ContentLocation(),
|
||||
|
|
Loading…
Reference in a new issue