From: Tim Düsterhus Date: Thu, 1 Dec 2011 21:50:55 +0000 (+0100) Subject: Use a type-secure check X-Git-Tag: 2.0.0_Beta_1~1522^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=37a4f4d19adf5d784ca805d8c59bb14a22e63096;p=GitHub%2FWoltLab%2FWCF.git Use a type-secure check --- 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();