1
0
Fork 0
mirror of synced 2024-10-01 17:58:02 +13:00

fix linter

This commit is contained in:
Damodar Lohani 2023-12-08 20:06:37 +00:00
parent 386cee5137
commit f553576d0e

View file

@ -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',