mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve #1462
This commit is contained in:
parent
b3893f7164
commit
6e56808a0d
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ class BodyStructure implements \JsonSerializable
|
||||||
if (!$aParts) {
|
if (!$aParts) {
|
||||||
$gEncryptedParts = $this->SearchByContentType('multipart/encrypted');
|
$gEncryptedParts = $this->SearchByContentType('multipart/encrypted');
|
||||||
foreach ($gEncryptedParts as $oPart) {
|
foreach ($gEncryptedParts as $oPart) {
|
||||||
if ($oPart->isPgpEncrypted() && $oPart->SubParts()[1]->isInline()) {
|
if ($oPart->isPgpEncrypted()) {
|
||||||
return array($oPart->SubParts()[1]);
|
return array($oPart->SubParts()[1]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue