- Fix displaying of alternative-inside-alternative messages (#1485713)

This commit is contained in:
alecpl
2009-02-03 07:40:26 +00:00
parent 2e1809e550
commit 9b4aaa79d3
2 changed files with 2 additions and 1 deletions

View File

@@ -266,7 +266,7 @@ class rcube_message
$html_part = $p;
else if ($sub_ctype_primary=='text' && $sub_ctype_secondary=='enriched')
$enriched_part = $p;
else if ($sub_ctype_primary=='multipart' && ($sub_ctype_secondary=='related' || $sub_ctype_secondary=='mixed'))
else if ($sub_ctype_primary=='multipart' && in_array($sub_ctype_secondary, array('related', 'mixed', 'alternative')))
$related_part = $p;
}