Index: trunk/extensions/FlaggedRevs/presentation/FlaggedPageView.php |
— | — | @@ -1856,7 +1856,7 @@ |
1857 | 1857 | * @return int |
1858 | 1858 | */ |
1859 | 1859 | protected static function getBaseRevId( EditPage $editPage ) { |
1860 | | - $request = $this->getRequest(); |
| 1860 | + $request = FlaggedPageView::singleton()->getRequest(); |
1861 | 1861 | if ( !isset( $editPage->fr_baseRevId ) ) { |
1862 | 1862 | $article = $editPage->getArticle(); // convenience |
1863 | 1863 | $latestId = $article->getLatest(); // current rev |