From 37a4f4d19adf5d784ca805d8c59bb14a22e63096 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 1 Dec 2011 22:50:55 +0100 Subject: [PATCH] Use a type-secure check --- wcfsetup/install/files/lib/system/mail/MailSender.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/mail/MailSender.class.php b/wcfsetup/install/files/lib/system/mail/MailSender.class.php index 674a122212..4c7f7208e0 100644 --- a/wcfsetup/install/files/lib/system/mail/MailSender.class.php +++ b/wcfsetup/install/files/lib/system/mail/MailSender.class.php @@ -24,7 +24,7 @@ abstract class MailSender { * @return MailSender */ public static function getInstance() { - if (self::$instance == null) { + if (self::$instance === null) { switch (MAIL_SEND_METHOD) { case 'php': self::$instance = new PHPMailSender(); -- 2.20.1