Fixing very stupid typo in Special:Userrights, which allowed all sysops to add and...
authorRoan Kattouw <catrope@users.mediawiki.org>
Tue, 11 Sep 2007 19:41:45 +0000 (19:41 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Tue, 11 Sep 2007 19:41:45 +0000 (19:41 +0000)
includes/SpecialUserrights.php

index b97e516..5abcfa7 100644 (file)
@@ -326,7 +326,7 @@ class UserrightsForm extends HTMLForm {
 
                foreach ($addergroups as $addergroup) {
                        $groups = array_merge_recursive(
-                               $groups, $this->changeableByGroup($addergroup)
+                               $groups, $this->changeableByGroup($addergroups)
                        );
                        $groups['add']    = array_unique( $groups['add'] );
                        $groups['remove'] = array_unique( $groups['remove'] );
@@ -399,4 +399,4 @@ class UserrightsForm extends HTMLForm {
                $viewer->showList( $output );
        }
        
-}
\ No newline at end of file
+}