Index: trunk/extensions/CodeReview/ui/CodeRevisionAuthorLink.php |
— | — | @@ -62,7 +62,7 @@ |
63 | 63 | global $wgOut, $wgRequest, $wgUser; |
64 | 64 | // Link an author to a wiki user |
65 | 65 | |
66 | | - if ( $wgUser->matchEditToken( $wgRequest->getVal( 'linktoken'), 'link' ) ) { |
| 66 | + if ( !$wgUser->matchEditToken( $wgRequest->getVal( 'linktoken'), 'link' ) ) { |
67 | 67 | $wgOut->addWikiMsg( 'code-author-badtoken' ); |
68 | 68 | return; |
69 | 69 | } |