r114334 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114333‎ | r114334 | r114335 >
Date:00:02, 21 March 2012
Author:preilly
Status:ok
Tags:
Comment:
1.19wmf: MFT r114332
Modified paths:
  • /branches/wmf/1.19wmf1/extensions/MobileFrontend/MobileFrontend.body.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.19wmf1/extensions/MobileFrontend/MobileFrontend.body.php
@@ -1210,7 +1210,7 @@
12111211
12121212 if ( self::$isBetaGroupMember ) {
12131213 $this->getSite( $site, $lang );
1214 - if ( is_array( $wgMFCustomLogos ) && isset( $wgMFCustomLogos[0]['site'] ) ) {
 1214+ if ( is_array( $wgMFCustomLogos ) && isset( $wgMFCustomLogos['site'] ) ) {
12151215 foreach ( $wgMFCustomLogos as $wgMFCustomLogo ) {
12161216 if ( isset( $wgMFCustomLogo['site'] ) && $site == $wgMFCustomLogo['site'] ) {
12171217 if ( isset( $wgMFCustomLogo['logo'] ) ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r114332remove index from arraypreilly23:56, 20 March 2012

Status & tagging log