From: Alexandre Emsenhuber Date: Mon, 14 Nov 2011 21:42:27 +0000 (+0000) Subject: Fix for r102997: forgot to change that variable X-Git-Tag: 1.31.0-rc.0~26505 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=6d6c43ee04843d1da62a8daedbc466ce7d312120;p=lhc%2Fweb%2Fwiklou.git Fix for r102997: forgot to change that variable --- diff --git a/includes/Article.php b/includes/Article.php index b4602df448..5fbfc3b776 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -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() ); } } }