summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-06-04 13:29:48 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-06-04 13:29:48 +0000
commit0785f083902651a698160c3bcbbe06630127e709 (patch)
tree36017ad05bb899afb239f933d8e14ea0c44f7d01 /roundcubemail/program
parentb3c1c3eda52976ee5194bac50549a24fed75f206 (diff)
- Fix related parts aren't displayed when got mimetype other than image/* (#1486432)
git-svn-id: https://svn.roundcube.net/trunk@3716 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/include/rcube_message.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_message.php b/roundcubemail/program/include/rcube_message.php
index 823650395..35a8f4a88 100644
--- a/roundcubemail/program/include/rcube_message.php
+++ b/roundcubemail/program/include/rcube_message.php
@@ -440,7 +440,6 @@ class rcube_message
// part belongs to a related message and is linked
if ($mimetype == 'multipart/related'
- && preg_match('!^image/!', $part_mimetype)
&& ($mail_part->headers['content-id'] || $mail_part->headers['content-location'])) {
if ($mail_part->headers['content-id'])
$mail_part->content_id = preg_replace(array('/^</', '/>$/'), '', $mail_part->headers['content-id']);