fix notice

This commit is contained in:
Yuri Kuznetsov
2022-01-06 14:07:57 +02:00
parent d725cce8a7
commit bff4e859cd
+1 -1
View File
@@ -63,7 +63,7 @@ class EmailTemplate extends Record implements
->withCopyAttachments($copyAttachments);
$data = Data::create()
->withEmailAddress($params['emailAddress'])
->withEmailAddress($params['emailAddress'] ?? null)
->withEntityHash($params['entityHash'] ?? [])
->withParent($params['parent'] ?? null)
->withParentId($params['parentId'] ?? null)