From: Siebrand Mazeland Date: Mon, 3 Nov 2008 22:22:46 +0000 (+0000) Subject: Add missing global $wgEnotifUseRealName. Fix for undefined variable notice in r43155. X-Git-Tag: 1.31.0-rc.0~44442 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=a8553af5d0ababecebcb0f49ad08ddee94c43d6a;p=lhc%2Fweb%2Fwiklou.git Add missing global $wgEnotifUseRealName. Fix for undefined variable notice in r43155. --- diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 010bc503be..69434d4170 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -567,7 +567,7 @@ class EmailNotification { * @private */ function sendPersonalised( $watchingUser ) { - global $wgLang; + global $wgLang, $wgEnotifUseRealName; // From the PHP manual: // Note: The to parameter cannot be an address in the form of "Something ". // The mail command will not parse this properly while talking with the MTA.