From 1cd862be5dfbee6be30ca0933a4185f64aa54ddf Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Tue, 15 Jan 2008 07:51:01 +0000 Subject: [PATCH] Another fix for r29765: Avoid PHP notices Thanks to ialex --- includes/SpecialUserrights.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/SpecialUserrights.php b/includes/SpecialUserrights.php index 8cea7fd8d6..14c853be54 100644 --- a/includes/SpecialUserrights.php +++ b/includes/SpecialUserrights.php @@ -498,7 +498,9 @@ class UserrightsPage extends SpecialPage { $all = array_merge( User::getAllGroups() ); return array( 'add' => $all, - 'remove' => $all + 'remove' => $all, + 'add-self' => array(), + 'remove-self' => array() ); } -- 2.20.1