Skip to content
Snippets Groups Projects
Commit 2e67fb07 authored by Carsten  Rose's avatar Carsten Rose
Browse files

fix problem undefined index

parent cb253da5
No related branches found
No related tags found
No related merge requests found
Pipeline #2300 passed
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment