summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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']);