fix: flush recipients
This commit is contained in:
parent
a187e3fff0
commit
1aaccd43cb
|
@ -97,6 +97,8 @@ class MailTemplate implements \JsonSerializable
|
|||
*/
|
||||
public function recipients(array $recipients): MailTemplate
|
||||
{
|
||||
$this->recipients = [];
|
||||
|
||||
if (! empty($recipients)) {
|
||||
foreach ($recipients as $recipient) {
|
||||
if (!empty($recipient[0]) && is_string($recipient[0])) {
|
||||
|
|
Loading…
Reference in New Issue