From 648db37e68bc1a3944d32b0fd62f65ea0d07cc7e Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 04 Jun 2010 09:29:48 -0400
Subject: [PATCH] - Fix related parts aren't displayed when got mimetype other than image/* (#1486432)

---
 program/include/rcube_message.php |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php
index 8236503..35a8f4a 100644
--- a/program/include/rcube_message.php
+++ b/program/include/rcube_message.php
@@ -440,7 +440,6 @@
 
                     // 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']);

--
Gitblit v1.9.1