alecpl
2010-06-04 648db37e68bc1a3944d32b0fd62f65ea0d07cc7e
- Fix related parts aren't displayed when got mimetype other than image/* (#1486432)


1 files modified
1 ■■■■ changed files
program/include/rcube_message.php 1 ●●●● patch | view | raw | blame | history
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']);