Actually declare $wgOut ;)
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 17 Sep 2009 02:24:38 +0000 (02:24 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 17 Sep 2009 02:24:38 +0000 (02:24 +0000)
includes/specials/SpecialUserrights.php

index 996f877..f8cae80 100644 (file)
@@ -47,7 +47,7 @@ class UserrightsPage extends SpecialPage {
        public function execute( $par ) {
                // If the visitor doesn't have permissions to assign or remove
                // any groups, it's a bit silly to give them the user search prompt.
-               global $wgUser, $wgRequest;
+               global $wgUser, $wgRequest, $wgOut;
 
                if( $par ) {
                        $this->mTarget = $par;