mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
* eMail: fix possible problem when mail-message-body (text or html part) is empty
This commit is contained in:
parent
55346c45a3
commit
7fe91e4e77
@ -1494,6 +1494,12 @@ blockquote[type=cite] {
|
|||||||
$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;">';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user