diff --git a/module/Notification/src/Notification/Service/NotifierService.php b/module/Notification/src/Notification/Service/NotifierService.php index 7d1c9005a9cadc07337266074efb52edd955d9a8..c71360977b147519dcabc421df9bd8fdfcb8258b 100644 --- a/module/Notification/src/Notification/Service/NotifierService.php +++ b/module/Notification/src/Notification/Service/NotifierService.php @@ -136,10 +136,10 @@ class NotifierService $mail = $this->mailerService->createNewMessage($html, $subject); $mail->setTo($to); - if ($cc) { + if ($cc AND $cc !== []) { $mail->setCc($cc); } - if ($bcc) { + if ($bcc AND $bcc !== []) { $mail->setBcc($bcc); }