fix for problems with displaying MULTIPART/RELATED sections of Mails. This fix is connected to a fix to egw-pear/Net/IMAP.php for creating the

mailstructure regarding MULTIPART/RELATED
This commit is contained in:
Klaus Leithoff 2007-10-05 07:05:41 +00:00
parent 4b24d98f77
commit 54ecc90b58

View File

@ -595,6 +595,7 @@
$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 == 'MIXED' ||
$structure->subParts[$tempID]->subParts[$tempID]->subType == 'ALTERNATIVE' || $structure->subParts[$tempID]->subParts[$tempID]->subType == 'ALTERNATIVE' ||
$structure->subParts[$tempID]->subParts[$tempID]->subType == 'RELATED' ||
$structure->subParts[$tempID]->subParts[$tempID]->subType == 'REPORT')) $structure->subParts[$tempID]->subParts[$tempID]->subType == 'REPORT'))
{ {
$structure = $structure->subParts[$tempID]->subParts[$tempID]; $structure = $structure->subParts[$tempID]->subParts[$tempID];
@ -617,6 +618,7 @@
$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 == 'MIXED' ||
$structure->subParts[$tempID]->subParts[$tempID]->subType == 'ALTERNATIVE' || $structure->subParts[$tempID]->subParts[$tempID]->subType == 'ALTERNATIVE' ||
$structure->subParts[$tempID]->subParts[$tempID]->subType == 'RELATED' ||
$structure->subParts[$tempID]->subParts[$tempID]->subType == 'REPORT')) { $structure->subParts[$tempID]->subParts[$tempID]->subType == 'REPORT')) {
$structure = $structure->subParts[$tempID]->subParts[$tempID]; $structure = $structure->subParts[$tempID]->subParts[$tempID];
} else { } else {