fix linter
This commit is contained in:
parent
386cee5137
commit
f553576d0e
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class Mails extends Action
|
|||
$mail->Subject = $subject;
|
||||
$mail->Body = $body;
|
||||
$mail->AltBody = \strip_tags($body);
|
||||
if(!empty($attachment['content'] ?? '')) {
|
||||
if (!empty($attachment['content'] ?? '')) {
|
||||
$mail->AddStringAttachment(
|
||||
$attachment['content'],
|
||||
$attachment['filename'] ?? 'unknown.file',
|
||||
|
|
Loading…
Reference in a new issue