Fix the warning appearing check setup when mail_smtpmode is not configured.

Closes #11107
This commit is contained in:
Marc Peña Segarra 2018-11-11 00:55:41 +01:00
parent cc96b93f95
commit ea10c6a141

View file

@ -530,7 +530,7 @@ Raw output
}
protected function isPhpMailerUsed(): bool {
return $this->config->getSystemValue('mail_smtpmode', 'php') === 'php';
return $this->config->getSystemValue('mail_smtpmode') === 'php';
}
protected function hasOpcacheLoaded(): bool {