MaxSem has uploaded a new change for review.

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


Change subject: Fix funny bracketing fail
......................................................................

Fix funny bracketing fail

Change-Id: I5b10e44e82d242bc9b07f7c848c37af991198f0e
---
M includes/skins/SkinMobile.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/90/54990/1

diff --git a/includes/skins/SkinMobile.php b/includes/skins/SkinMobile.php
index 26fc7fd..52a060b 100644
--- a/includes/skins/SkinMobile.php
+++ b/includes/skins/SkinMobile.php
@@ -240,7 +240,7 @@
 
                // attach styles
                $headLinks[] = $this->resourceLoaderLink( array( 
'mobile.styles' ), 'styles', $target='mobile' );
-               if ( count( $contextModules['top'] > 0 ) ) {
+               if ( count( $contextModules['top'] ) > 0 ) {
                        $headLinks[] = $this->resourceLoaderLink( 
$contextModules['top'], 'styles', $target='mobile' );
                }
                // add device specific css file - add separately to avoid cache 
fragmentation

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5b10e44e82d242bc9b07f7c848c37af991198f0e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: MaxSem <[email protected]>

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

Reply via email to