From d70d7cf21afb09e714242a1ee8d1b82e15ce23b3 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Tue, 11 Sep 2007 19:41:45 +0000 Subject: [PATCH] Fixing very stupid typo in Special:Userrights, which allowed all sysops to add and remove everyone to and from every group. --- includes/SpecialUserrights.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialUserrights.php b/includes/SpecialUserrights.php index b97e5168ea..5abcfa7863 100644 --- a/includes/SpecialUserrights.php +++ b/includes/SpecialUserrights.php @@ -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 +} -- 2.20.1