Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -657,7 +657,7 @@ |
658 | 658 | $prevRevId = self::getPreviousRevisionId( $rev ); |
659 | 659 | # Get the revision ID the incoming one was based off... |
660 | 660 | if( !$baseRevId && $prevRevId ) { |
661 | | - $prevTimestamp = Revision::getTimestampFromId( $prevRevId, $rev->getPage() ); // use PK |
| 661 | + $prevTimestamp = Revision::getTimestampFromId( $title, $prevRevId ); // use PK |
662 | 662 | # Get edit timestamp. Existance already valided by EditPage.php. If |
663 | 663 | # not present, then it shouldn't be, like null edits. |
664 | 664 | $editTimestamp = $wgRequest->getVal('wpEdittime'); |