Index: trunk/extensions/Renameuser/Renameuser.php |
— | — | @@ -79,7 +79,7 @@ |
80 | 80 | function wfRenameuserOnContribsLink( $id, $nt, &$tools ) { |
81 | 81 | global $wgUser; |
82 | 82 | |
83 | | - if ( $wgUser->isAllowed( 'renameuser' ) ) { |
| 83 | + if ( $wgUser->isAllowed( 'renameuser' ) && $id ) { |
84 | 84 | $sk = $wgUser->getSkin(); |
85 | 85 | $tools[] = $sk->link( |
86 | 86 | SpecialPage::getTitleFor( 'Renameuser' ), |