Commit 96f59e61 authored by Olivier BOUMATI's avatar Olivier BOUMATI

Update monitor_tools.inc.php

Preserve body structure in send_notification_email
parent 3d245ca6
......@@ -776,7 +776,8 @@ class monitor_tools {
$mailSubject = '';
$inHeader = true;
for($l = 0; $l < count($lines); $l++) {
if(trim($lines[$l]) == '') {
/* Trim only in headers */
if($inHeader && trim($lines[$l]) == '') {
$inHeader = false;
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment