From dba617ada32ed85eb151f42d38da07ead38b8739 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 2a1401a8a9d..57766f26724 100644 --- a/settings/Controller/CheckSetupController.php +++ b/settings/Controller/CheckSetupController.php @@ -529,7 +529,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