From 7e2e7ce3cba1330713cd1c5214ed7e4f024a5f57 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 30 Aug 2023 20:20:20 -0400 Subject: [PATCH] Fix swapped from/to name --- app/workers/mails.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/workers/mails.php b/app/workers/mails.php index 27d8f85f04..56676b4aed 100644 --- a/app/workers/mails.php +++ b/app/workers/mails.php @@ -37,7 +37,7 @@ class MailsV1 extends Worker $subject = $this->args['subject']; $body = $this->args['body']; $variables = $this->args['variables']; - $name = $variables['user'] ?? ''; + $name = $this->args['name']; $body = Template::fromFile(__DIR__ . '/../config/locale/templates/email-base.tpl');