forked from extern/egroupware
added the MULTIPART/RELATED Fix to the handling of the Structure with partID 1 in function _getSubStructure
This commit is contained in:
parent
a8ddeb719d
commit
2bce586215
@ -615,7 +615,9 @@
|
|||||||
if($structure->subParts[$tempID]->type == 'MESSAGE' && $structure->subParts[$tempID]->subType == 'RFC822' &&
|
if($structure->subParts[$tempID]->type == 'MESSAGE' && $structure->subParts[$tempID]->subType == 'RFC822' &&
|
||||||
count($structure->subParts[$tempID]->subParts) == 1 &&
|
count($structure->subParts[$tempID]->subParts) == 1 &&
|
||||||
$structure->subParts[$tempID]->subParts[$tempID]->type == 'MULTIPART' &&
|
$structure->subParts[$tempID]->subParts[$tempID]->type == 'MULTIPART' &&
|
||||||
($structure->subParts[$tempID]->subParts[$tempID]->subType == 'MIXED' || $structure->subParts[$tempID]->subParts[$tempID]->subType == 'REPORT')) {
|
($structure->subParts[$tempID]->subParts[$tempID]->subType == 'MIXED' ||
|
||||||
|
$structure->subParts[$tempID]->subParts[$tempID]->subType == 'ALTERNATIVE' ||
|
||||||
|
$structure->subParts[$tempID]->subParts[$tempID]->subType == 'REPORT')) {
|
||||||
$structure = $structure->subParts[$tempID]->subParts[$tempID];
|
$structure = $structure->subParts[$tempID]->subParts[$tempID];
|
||||||
} else {
|
} else {
|
||||||
$structure = $structure->subParts[$tempID];
|
$structure = $structure->subParts[$tempID];
|
||||||
|
Loading…
Reference in New Issue
Block a user