diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2015-01-15 20:51:05 +0100 |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2015-01-15 20:51:17 +0100 |
commit | f4154d91080fcd2404102e8d57679f42af96ef2e (patch) | |
tree | c8eedc01d11def8ef3062b6e2de26af695c8d9b5 /program | |
parent | de0bc662f9a8739d649c3dce9b12113fd832bafd (diff) |
Fall back to $part->body when no mime_id is set for the message part
Diffstat (limited to 'program')
-rw-r--r-- | program/steps/mail/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 48d989954..9a6be0c8c 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -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') { |