From: Tim Starling Date: Sat, 28 May 2005 11:51:27 +0000 (+0000) Subject: test before commit, idiot X-Git-Tag: 1.5.0alpha2~59 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=36d5dadfd973edf190e7d561480662b3b890a3fb;p=lhc%2Fweb%2Fwiklou.git test before commit, idiot --- diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 301b9ddcad..8741610626 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -180,6 +180,7 @@ class SpecialPage * @return mixed Title object if the redirect exists, otherwise NULL */ function &getRedirect( $name ) { + global $wgUser; switch ( $name ) { case 'Mypage': return Title::makeTitle( NS_USER, $wgUser->getName() );