Index: trunk/phase3/includes/specials/SpecialUserrights.php |
— | — | @@ -82,10 +82,10 @@ |
83 | 83 | if( !$this->userCanChangeRights( $wgUser, true ) ) { |
84 | 84 | // fixme... there may be intermediate groups we can mention. |
85 | 85 | global $wgOut; |
86 | | - $wgOut->showPermissionsErrorPage( array( |
| 86 | + $wgOut->showPermissionsErrorPage( array( array( |
87 | 87 | $wgUser->isAnon() |
88 | 88 | ? 'userrights-nologin' |
89 | | - : 'userrights-notallowed' ) ); |
| 89 | + : 'userrights-notallowed' ) ) ); |
90 | 90 | return; |
91 | 91 | } |
92 | 92 | |