Skip to content

Commit

Permalink
grab the default value from config if this isnt set to avoid setting …
Browse files Browse the repository at this point in the history
…this variable to null
  • Loading branch information
braceyourself committed Apr 26, 2020
1 parent ace9c26 commit 648841c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Listeners/Update/V20/Version207.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function handle(Event $event)

// Update .env file
Installer::updateEnv([
'MAIL_MAILER' => config('mail.default'),
'MAIL_MAILER' => env('MAIL_DRIVER', config('mail.default')),
]);
}
}

0 comments on commit 648841c

Please sign in to comment.