diff options
author | alecpl <alec@alec.pl> | 2009-02-03 07:40:26 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-02-03 07:40:26 +0000 |
commit | 9b4aaa79d3cc1cded4e8a3bd11063994152fccc7 (patch) | |
tree | eee7ca36dc23f52550881380386cbf609059d526 | |
parent | 2e1809e550e8768b73c2fcccb78f39ffe24615cf (diff) |
- Fix displaying of alternative-inside-alternative messages (#1485713)
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | program/include/rcube_message.php | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -5,6 +5,7 @@ CHANGELOG RoundCube Webmail ---------- - Fix checking for recent messages on various IMAP servers (#1485702) - performance fix: Don't fetch quota and recent messages in "message view" mode +- Fix displaying of alternative-inside-alternative messages (#1485713) 2009/01/28 (alec) ---------- diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php index 8a2cb1703..fa2aebc5c 100644 --- a/program/include/rcube_message.php +++ b/program/include/rcube_message.php @@ -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; } |