diff --git a/common/components/MailerComponent.php b/common/components/MailerComponent.php index cdd2d86..6adf95e 100644 --- a/common/components/MailerComponent.php +++ b/common/components/MailerComponent.php @@ -36,7 +36,8 @@ class MailerComponent extends Component $moreMail = explode(';', $mail->user); $setTo = [$settings->email]; if (!empty($moreMail)) { - $setTo = array_merge($setTo, $moreMail); + if ($moreMail[0] != '') + $setTo = array_merge($setTo, $moreMail); } -- libgit2 0.21.4