Index: trunk/phase3/includes/Revision.php |
— | — | @@ -319,9 +319,9 @@ |
320 | 320 | $this->mSize = intval( $row->rev_len ); |
321 | 321 | |
322 | 322 | if( isset( $row->page_latest ) ) { |
323 | | - $this->mCurrent = ( $row->rev_id == $row->page_latest ); |
324 | | - $this->mTitle = Title::makeTitle( $row->page_namespace, |
325 | | - $row->page_title ); |
| 323 | + $this->mCurrent = ( $row->rev_id == $row->page_latest ); |
| 324 | + $this->mTitle = Title::makeTitle( $row->page_namespace, $row->page_title ); |
| 325 | + $this->mTitle->resetArticleID( $this->mPage ); |
326 | 326 | } else { |
327 | 327 | $this->mCurrent = false; |
328 | 328 | $this->mTitle = null; |