r95682 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95681‎ | r95682 | r95683 >
Date:18:53, 29 August 2011
Author:dantman
Status:ok
Tags:
Comment:
Followup r95547; Where'd that $ come from?
Modified paths:
  • /trunk/phase3/includes/UserMailer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/UserMailer.php
@@ -130,7 +130,7 @@
131131 global $wgSMTP, $wgServer;
132132
133133 $msgid = uniqid( wfWikiID() . ".", true ); /* true required for cygwin */
134 - if ( is_array($wgSMTP) && $isset($wgSMTP['IDHost']) && $wgSMTP['IDHost'] ) {
 134+ if ( is_array($wgSMTP) && isset($wgSMTP['IDHost']) && $wgSMTP['IDHost'] ) {
135135 $domain = $wgSMTP['IDHost'];
136136 } else {
137137 $url = wfParseUrl($wgServer);

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95547Followup r93417; Don't use $wgServer in a way that makes invalid Message-IDs....dantman00:01, 26 August 2011

Status & tagging log