From 896cdb66a9c10a95556df2b60882826315d6487a Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 28 Jun 2011 21:39:55 +0000 Subject: [PATCH] Use getLatest() accessor --- includes/RawPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/RawPage.php b/includes/RawPage.php index 4d5af46ca3..dab6640bd6 100644 --- a/includes/RawPage.php +++ b/includes/RawPage.php @@ -60,7 +60,7 @@ class RawPage { if( !$oldid ) { # get the current revision so we can get the penultimate one $this->mArticle->getTouched(); - $oldid = $this->mArticle->mLatest; + $oldid = $this->mArticle->getLatest(); } $prev = $this->mTitle->getPreviousRevisionId( $oldid ); $oldid = $prev ? $prev : -1 ; -- 2.20.1