Skip to content

Commit 7b51c8e

Browse files
author
Marius Burkard
committed
Merge branch '5937-quota_notifications_header_typo' into 'develop'
header names should be lowercase for comparison Closes #5937 See merge request ispconfig/ispconfig3!1337
2 parents 8c87cd9 + 9969080 commit 7b51c8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/lib/classes/monitor_tools.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,11 +845,11 @@ public function send_notification_email($template, $placeholders, $recipients) {
845845
$mailSubject = trim($parts[1]);
846846
continue;
847847
}
848-
if(strtolower($parts[0]) == 'From') {
848+
if(strtolower($parts[0]) == 'from') {
849849
$mailFrom = trim($parts[1]);
850850
continue;
851851
}
852-
if(strtolower($parts[0]) == 'Cc') {
852+
if(strtolower($parts[0]) == 'cc') {
853853
if (! in_array(trim($parts[1]), $recipients)) {
854854
$recipients[] = trim($parts[1]);
855855
}

0 commit comments

Comments
 (0)