Another fix for r29765: Avoid PHP notices
authorRaimond Spekking <raymond@users.mediawiki.org>
Tue, 15 Jan 2008 07:51:01 +0000 (07:51 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Tue, 15 Jan 2008 07:51:01 +0000 (07:51 +0000)
Thanks to ialex

includes/SpecialUserrights.php

index 8cea7fd..14c853b 100644 (file)
@@ -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()
                        );
                }