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