From: Aaron Schulz Date: Tue, 28 Jun 2011 21:39:55 +0000 (+0000) Subject: Use getLatest() accessor X-Git-Tag: 1.31.0-rc.0~29209 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=896cdb66a9c10a95556df2b60882826315d6487a;p=lhc%2Fweb%2Fwiklou.git Use getLatest() accessor --- 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 ;