From: Raimond Spekking Date: Tue, 15 Jan 2008 07:51:01 +0000 (+0000) Subject: Another fix for r29765: Avoid PHP notices X-Git-Tag: 1.31.0-rc.0~49993 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=1cd862be5dfbee6be30ca0933a4185f64aa54ddf;p=lhc%2Fweb%2Fwiklou.git Another fix for r29765: Avoid PHP notices Thanks to ialex --- 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() ); }