mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 02:41:02 +01:00
* eMail: fix possible problem when mail-message-body (text or html part) is empty
This commit is contained in:
parent
826e7634bb
commit
df6e9076e4
@ -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;">';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user