From 00280ee21b74744c7e3622d9fdd29027ec713bb5 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Mon, 5 Dec 2011 10:56:56 +0000 Subject: [PATCH] Fix PageHistoryBeforeList hook Following r100534 refactoring, it was using an incorrect variable. Use the new accessor instead. --- 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..d64b333140 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->getArticle() ) ); // Create and output the list. $pager = new HistoryPager( $this, $year, $month, $tagFilter, $conds ); -- 2.20.1