From ea10c6a141ae7dcd813bc17f81a3f934e9ba32b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20Pe=C3=B1a=20Segarra?= Date: Sun, 11 Nov 2018 00:55:41 +0100 Subject: [PATCH] Fix the warning appearing check setup when mail_smtpmode is not configured. Closes #11107 --- settings/Controller/CheckSetupController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/Controller/CheckSetupController.php b/settings/Controller/CheckSetupController.php index fa4ed57ab95..cc9cb17388e 100644 --- a/settings/Controller/CheckSetupController.php +++ b/settings/Controller/CheckSetupController.php @@ -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 { -- 2.39.5