Commit 2e67fb07 authored by Carsten  Rose's avatar Carsten Rose
Browse files

fix problem undefined index

parent cb253da5
Pipeline #2300 passed with stages
in 2 minutes and 49 seconds
......@@ -67,7 +67,9 @@ class SendMail {
if (!empty($redirectAllMail)) {
foreach ([SENDMAIL_TOKEN_RECEIVER, SENDMAIL_TOKEN_RECEIVER_CC, SENDMAIL_TOKEN_RECEIVER_BCC] as $key) {
$mailConfig[$key] = (strlen($mailConfig[$key]) > 1023) ? str_replace(',', ', ', $mailConfig[$key]) : $mailConfig[$key];
if (isset($mailConfig[$key])) {
$mailConfig[$key] = (strlen($mailConfig[$key]) > 1023) ? str_replace(',', ', ', $mailConfig[$key]) : $mailConfig[$key];
}
}
$addBody = "All QFQ outgoing mails are caught and redirected to you." . PHP_EOL . "Original receiver(s) are ..." . PHP_EOL;
......
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