Fix for r102997: forgot to change that variable

This commit is contained in:
Alexandre Emsenhuber 2011-11-14 21:42:27 +00:00
parent bab0af1492
commit 6d6c43ee04

View file

@ -229,7 +229,7 @@ class Article extends Page {
// Revision title doesn't match the page title given?
if ( $this->mPage->getID() != $this->mRevision->getPage() ) {
$function = array( get_class( $this->mPage ), 'newFromID' );
$this->mPage = call_user_func( $function, $revision->getPage() );
$this->mPage = call_user_func( $function, $this->mRevision->getPage() );
}
}
}