From e11c9589051511974d8981c7e760c724c2551302 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 3 Nov 2011 22:21:19 +0000 Subject: [PATCH] FU r96015: removed & in MakeGlobalVariablesScript hook --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index af2f2649be..d11d48339a 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2692,7 +2692,7 @@ $templates // Use the 'ResourceLoaderGetConfigVars' hook if the variable is not // page-dependant but site-wide (without state). // Alternatively, you may want to use OutputPage->addJsConfigVars() instead. - wfRunHooks( 'MakeGlobalVariablesScript', array( &$vars, &$this ) ); + wfRunHooks( 'MakeGlobalVariablesScript', array( &$vars, $this ) ); // Merge in variables from addJsConfigVars last return array_merge( $vars, $this->mJsConfigVars ); -- 2.20.1