From 4e5d8032eb13c6f4928c900ae7a8e62e0286314e Mon Sep 17 00:00:00 2001 From: Boy132 Date: Tue, 17 Jan 2023 23:01:53 +0100 Subject: [PATCH] Fix `MAIL_FROM_ADDRESS` in EmailSettingsCommand (#4648) --- app/Console/Commands/Environment/EmailSettingsCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/Environment/EmailSettingsCommand.php b/app/Console/Commands/Environment/EmailSettingsCommand.php index cffb03a6b9d..d5efbc90acc 100644 --- a/app/Console/Commands/Environment/EmailSettingsCommand.php +++ b/app/Console/Commands/Environment/EmailSettingsCommand.php @@ -57,7 +57,7 @@ public function handle() $this->{$method}(); } - $this->variables['MAIL_FROM'] = $this->option('email') ?? $this->ask( + $this->variables['MAIL_FROM_ADDRESS'] = $this->option('email') ?? $this->ask( trans('command/messages.environment.mail.ask_mail_from'), $this->config->get('mail.from.address') );