We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c27ec88 commit 02188a7Copy full SHA for 02188a7
1 file changed
src/Commands/Setup.php
@@ -317,8 +317,8 @@ private function setupEmail(): void
317
}
318
319
$config = new EmailConfig();
320
- $fromEmail = $config->fromEmail;
321
- $fromName = $config->fromName;
+ $fromEmail = (string) $config->fromEmail; // Old Config may return null.
+ $fromName = (string) $config->fromName;
322
323
if ($fromEmail !== '' && $fromName !== '') {
324
$this->write(CLI::color(' Email Setup: ', 'green') . 'Everything is fine.');
0 commit comments