Skip to content

Commit b31c149

Browse files
author
Marius Burkard
committed
- removed subject header from notifications (Fixes #3319)
1 parent 2436971 commit b31c149

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

server/lib/classes/monitor_tools.inc.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,10 @@ public function send_notification_email($template, $placeholders, $recipients) {
711711
}
712712
if($inHeader == true) {
713713
$parts = explode(':', $lines[$l], 2);
714-
if(strtolower($parts[0]) == 'subject') $mailSubject = trim($parts[1]);
714+
if(strtolower($parts[0]) == 'subject') {
715+
$mailSubject = trim($parts[1]);
716+
continue;
717+
}
715718
unset($parts);
716719
$mailHeaders .= trim($lines[$l]) . "\n";
717720
} else {

0 commit comments

Comments
 (0)