Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -481,7 +481,7 @@ |
482 | 482 | # well as enforce site settings if they are later changed. |
483 | 483 | $sha1 = ""; |
484 | 484 | if( FlaggedRevs::isPageReviewable( $nt ) ) { |
485 | | - $srev = FlaggedRevision::newFromStable( $title ); |
| 485 | + $srev = FlaggedRevision::newFromStable( $nt ); |
486 | 486 | if( $srev ) { |
487 | 487 | $time = $srev->getFileTimestamp(); |
488 | 488 | $sha1 = $srev->getFileSha1(); |