mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-03 23:04:01 +01:00
Fall back to $part->body when no mime_id is set for the message part
This commit is contained in:
@@ -1205,7 +1205,7 @@ function rcmail_message_body($attrib)
|
||||
}
|
||||
|
||||
// fetch part body
|
||||
$body = $MESSAGE->get_part_body($part->mime_id, true);
|
||||
$body = $part->mime_id ? $MESSAGE->get_part_body($part->mime_id, true) : $part->body;
|
||||
|
||||
// extract headers from message/rfc822 parts
|
||||
if ($part->mimetype == 'message/rfc822') {
|
||||
|
||||
Reference in New Issue
Block a user