From: Chad Horohoe Date: Sun, 19 Sep 2010 23:27:16 +0000 (+0000) Subject: Followup r73348, rv unrelated change X-Git-Tag: 1.31.0-rc.0~34867 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=e18ad044af4b3516ae9008ef9aea45d215ed8863;p=lhc%2Fweb%2Fwiklou.git Followup r73348, rv unrelated change --- diff --git a/includes/Revision.php b/includes/Revision.php index 5145033682..54709de5a8 100644 --- a/includes/Revision.php +++ b/includes/Revision.php @@ -314,8 +314,8 @@ class Revision { if( isset( $row->page_latest ) ) { $this->mCurrent = ( $row->rev_id == $row->page_latest ); - $row->page_id = $this->mPage; - $this->mTitle = Title::newFromRow( $row ); + $this->mTitle = Title::makeTitle( $row->page_namespace, $row->page_title ); + $this->mTitle->resetArticleID( $this->mPage ); } else { $this->mCurrent = false; $this->mTitle = null;