Jack Phoenix has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/261643

Change subject: Fix [30-Dec-2015 19:45:19] PHP Notice:  Undefined variable: 
wgMetrolookSearchBar in ..\skins\Metrolook\SkinMetrolookHooks.php on line 173
......................................................................

Fix [30-Dec-2015 19:45:19] PHP Notice:  Undefined variable: 
wgMetrolookSearchBar in ..\skins\Metrolook\SkinMetrolookHooks.php on line 173

Change-Id: I604d19077d83497525cd95be64499c7a5d5f0d5c
---
M SkinMetrolookHooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Metrolook 
refs/changes/43/261643/1

diff --git a/SkinMetrolookHooks.php b/SkinMetrolookHooks.php
index 74a099e..50e2d4b 100644
--- a/SkinMetrolookHooks.php
+++ b/SkinMetrolookHooks.php
@@ -167,7 +167,7 @@
         * Adds enabled/disabled switches for Vector modules
         */
        public static function resourceLoaderGetConfigVars( &$vars ) {
-               global $wgMetrolookFeatures;
+               global $wgMetrolookFeatures, $wgMetrolookSearchBar;
 
                $configurations = array();
                if ( $wgMetrolookSearchBar ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/261643
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I604d19077d83497525cd95be64499c7a5d5f0d5c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/Metrolook
Gerrit-Branch: master
Gerrit-Owner: Jack Phoenix <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to