From 646463bc336e83904c6ddb8df393e0dcf134c8a0 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 8 Aug 2017 22:51:02 +0200 Subject: [PATCH] Check if phpmailer is enabled --- nntmux/utility/Utility.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nntmux/utility/Utility.php b/nntmux/utility/Utility.php index 60e473202..d5eb5288a 100755 --- a/nntmux/utility/Utility.php +++ b/nntmux/utility/Utility.php @@ -723,7 +723,7 @@ class Utility $body .= '' . $eol; $body .= '' . $eol; - if (defined('PHPMAILER_ENABLED') || PHPMAILER_ENABLED === true) { + if (PHPMAILER_ENABLED === true) { $mail = new \PHPMailer; // Check to make sure the user has their settings correct.