r55181 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55180‎ | r55181 | r55182 >
Date:13:35, 17 August 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Fix variable name
Modified paths:
  • /trunk/extensions/CleanChanges/CleanChanges_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CleanChanges/CleanChanges_body.php
@@ -489,7 +489,7 @@
490490 }
491491 if( $userId ) {
492492 $userrightsPage = new UserrightsPage();
493 - if( $userrightsPage->userCanChangeRights( User::newFromId( $id ) ) ) {
 493+ if( $userrightsPage->userCanChangeRights( User::newFromId( $userId ) ) ) {
494494 $targetPage = SpecialPage::getTitleFor( 'Userrights', $userText );
495495 $items[] = $this->skin->makeKnownLinkObj( $targetPage,
496496 wfMsgHtml( 'cleanchanges-changerightslink' ) );

Status & tagging log