From 61e1c3014a04c7e961cb7b615dc275e1a3e5eea7 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Wed, 30 Aug 2023 18:44:29 -0400 Subject: [PATCH] fix: incorrect key reference --- 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 2edf6957a2..27d8f85f04 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['name'] ?? ''; + $name = $variables['user'] ?? ''; $body = Template::fromFile(__DIR__ . '/../config/locale/templates/email-base.tpl');