From: Antoine Musso Date: Mon, 5 Dec 2011 16:15:05 +0000 (+0000) Subject: Fix PageHistoryBeforeList hook X-Git-Tag: 1.31.0-rc.0~26175 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=e70b8c2409fcad88f41ac8d5eb61d1faed0d49cb;p=lhc%2Fweb%2Fwiklou.git Fix PageHistoryBeforeList hook Following r100534 refactoring, it was using an incorrect variable. --- diff --git a/includes/actions/HistoryAction.php b/includes/actions/HistoryAction.php index ac35b0aa19..bae484b02b 100644 --- a/includes/actions/HistoryAction.php +++ b/includes/actions/HistoryAction.php @@ -171,7 +171,7 @@ class HistoryAction extends FormlessAction { '' ); - wfRunHooks( 'PageHistoryBeforeList', array( &$this->article ) ); + wfRunHooks( 'PageHistoryBeforeList', array( &$this->page ) ); // Create and output the list. $pager = new HistoryPager( $this, $year, $month, $tagFilter, $conds );