Commit b5d44399 authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch 'stable-3.1' into 'stable-3.1'

Update monitor_tools.inc.php

See merge request ispconfig/ispconfig3!818
parents a02ec6b0 96f59e61
...@@ -780,7 +780,8 @@ class monitor_tools { ...@@ -780,7 +780,8 @@ class monitor_tools {
$mailSubject = ''; $mailSubject = '';
$inHeader = true; $inHeader = true;
for($l = 0; $l < count($lines); $l++) { for($l = 0; $l < count($lines); $l++) {
if(trim($lines[$l]) == '') { /* Trim only in headers */
if($inHeader && trim($lines[$l]) == '') {
$inHeader = false; $inHeader = false;
continue; 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