Merge "Reintroduce accidentally dropped referenceness"
This commit is contained in:
commit
8e3b4a91c9
1 changed files with 2 additions and 1 deletions
|
|
@ -283,10 +283,11 @@ class HistoryAction extends FormlessAction {
|
|||
|
||||
$out->addHTML( $htmlForm->getHTML( false ) );
|
||||
|
||||
$article = $this->getArticle(); // must be a variable for hook reference
|
||||
Hooks::run(
|
||||
'PageHistoryBeforeList',
|
||||
[
|
||||
$this->getArticle(),
|
||||
&$article,
|
||||
$this->getContext()
|
||||
]
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue