summaryrefslogtreecommitdiff
path: root/program/include/rcube_message.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-06-04 13:29:48 +0000
committeralecpl <alec@alec.pl>2010-06-04 13:29:48 +0000
commit648db37e68bc1a3944d32b0fd62f65ea0d07cc7e (patch)
tree56f84f138602d993bb1bfc8a847ee937c3df2030 /program/include/rcube_message.php
parentdbe49889416dc613fa00de3c03e157de2e9b346c (diff)
- Fix related parts aren't displayed when got mimetype other than image/* (#1486432)
Diffstat (limited to 'program/include/rcube_message.php')
-rw-r--r--program/include/rcube_message.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php
index 823650395..35a8f4a88 100644
--- a/program/include/rcube_message.php
+++ b/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']);