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');