mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-12 00:19:33 +02:00
* eMail: fix possible problem when mail-message-body (text or html part) is empty
This commit is contained in:
@ -1254,6 +1254,12 @@
|
|||||||
$body .= $singleBodyPart['body'];
|
$body .= $singleBodyPart['body'];
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
$bodyPartIsSet = strlen(trim($singleBodyPart['body']));
|
||||||
|
if (!$bodyPartIsSet)
|
||||||
|
{
|
||||||
|
$body .= '';
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if(!empty($body)) {
|
if(!empty($body)) {
|
||||||
$body .= '<hr style="border:dotted 1px silver;">';
|
$body .= '<hr style="border:dotted 1px silver;">';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user