Skip to content

Commit b5d4439

Browse files
author
Till Brehm
committed
Merge branch 'stable-3.1' into 'stable-3.1'
Update monitor_tools.inc.php See merge request ispconfig/ispconfig3!818
2 parents a02ec6b + 96f59e6 commit b5d4439

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
@@ -780,7 +780,8 @@ public function send_notification_email($template, $placeholders, $recipients) {
780780
$mailSubject = '';
781781
$inHeader = true;
782782
for($l = 0; $l < count($lines); $l++) {
783-
if(trim($lines[$l]) == '') {
783+
/* Trim only in headers */
784+
if($inHeader && trim($lines[$l]) == '') {
784785
$inHeader = false;
785786
continue;
786787
}

0 commit comments

Comments
 (0)