- Fix related parts aren't displayed when got mimetype other than image/* (#1486432)

release-0.6
alecpl 14 years ago
parent dbe4988941
commit 648db37e68

@ -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']);

Loading…
Cancel
Save