From: Daniel Friesen Date: Mon, 29 Aug 2011 18:53:59 +0000 (+0000) Subject: Followup r95547; Where'd that $ come from? X-Git-Tag: 1.31.0-rc.0~28024 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=289b2174f3517e54cc3afe35ab0465a3acab403d;p=lhc%2Fweb%2Fwiklou.git Followup r95547; Where'd that $ come from? --- diff --git a/includes/UserMailer.php b/includes/UserMailer.php index beac67fff4..171f2a13db 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -130,7 +130,7 @@ class UserMailer { global $wgSMTP, $wgServer; $msgid = uniqid( wfWikiID() . ".", true ); /* true required for cygwin */ - if ( is_array($wgSMTP) && $isset($wgSMTP['IDHost']) && $wgSMTP['IDHost'] ) { + if ( is_array($wgSMTP) && isset($wgSMTP['IDHost']) && $wgSMTP['IDHost'] ) { $domain = $wgSMTP['IDHost']; } else { $url = wfParseUrl($wgServer);