r47588 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47587‎ | r47588 | r47589 >
Date:21:04, 20 February 2009
Author:brion
Status:ok
Tags:
Comment:
Fix call using $title which didn't exist... $nt is present, though
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -481,7 +481,7 @@
482482 # well as enforce site settings if they are later changed.
483483 $sha1 = "";
484484 if( FlaggedRevs::isPageReviewable( $nt ) ) {
485 - $srev = FlaggedRevision::newFromStable( $title );
 485+ $srev = FlaggedRevision::newFromStable( $nt );
486486 if( $srev ) {
487487 $time = $srev->getFileTimestamp();
488488 $sha1 = $srev->getFileSha1();

Status & tagging log