Skip to content

Commit 8ff3055

Browse files
author
Olivier BOUMATI
committed
Update monitor_tools.inc.php
1 parent c37625a commit 8ff3055

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/lib/classes/monitor_tools.inc.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,8 @@ public function send_notification_email($template, $placeholders, $recipients) {
811811
$mailSubject = '';
812812
$inHeader = true;
813813
for($l = 0; $l < count($lines); $l++) {
814-
if(trim($lines[$l]) == '') {
814+
/* Trim only in headers */
815+
if($inHeader && trim($lines[$l]) == '') {
815816
$inHeader = false;
816817
continue;
817818
}

0 commit comments

Comments
 (0)