From: Aaron Schulz Date: Thu, 3 Nov 2011 22:21:19 +0000 (+0000) Subject: FU r96015: removed & in MakeGlobalVariablesScript hook X-Git-Tag: 1.31.0-rc.0~26719 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=e11c9589051511974d8981c7e760c724c2551302;p=lhc%2Fweb%2Fwiklou.git FU r96015: removed & in MakeGlobalVariablesScript hook --- 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 );