From c108c22cb139b55e3adb7e563ab640c4dc8d2305 Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Fri, 18 Sep 2015 13:38:55 -0400
Subject: [PATCH] Merge branch 'stable-3.0.5' into 'stable-3.0.5'

---
 server/cron_daily.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/cron_daily.php b/server/cron_daily.php
index 10f1688..3269736 100644
--- a/server/cron_daily.php
+++ b/server/cron_daily.php
@@ -670,7 +670,7 @@
 	$mailSubject = '';
 	$inHeader = true;
 	for($l = 0; $l < count($lines); $l++) {
-		if($lines[$l] == '') {
+		if(trim($lines[$l]) == '') {
 			$inHeader = false;
 			continue;
 		}

--
Gitblit v1.9.1