* eMail: fix possible problem when mail-message-body (text or html part) is empty

This commit is contained in:
Klaus Leithoff 2013-09-06 12:01:13 +00:00
parent 826e7634bb
commit df6e9076e4

View File

@ -1254,6 +1254,12 @@
$body .= $singleBodyPart['body'];
continue;
}
$bodyPartIsSet = strlen(trim($singleBodyPart['body']));
if (!$bodyPartIsSet)
{
$body .= '';
continue;
}
if(!empty($body)) {
$body .= '<hr style="border:dotted 1px silver;">';
}