From e70b8c2409fcad88f41ac8d5eb61d1faed0d49cb Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Mon, 5 Dec 2011 16:15:05 +0000 Subject: [PATCH] Fix PageHistoryBeforeList hook Following r100534 refactoring, it was using an incorrect variable. --- includes/actions/HistoryAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1