r76184 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76183‎ | r76184 | r76185 >
Date:09:21, 6 November 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Fix oversight in r75973 that broke gadgets tab in preferences
Modified paths:
  • /trunk/extensions/Gadgets/Gadgets.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Gadgets/Gadgets.php
@@ -137,7 +137,7 @@
138138 } else {
139139 $destination = &$options;
140140 }
141 - foreach( $thisSection as $gname ) {
 141+ foreach( array_keys( $thisSection ) as $gname ) {
142142 $destination[wfMsgExt( "gadget-$gname", 'parseinline' )] = $gname;
143143 }
144144 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r75973Code cleanup, mainly unused variablesreedy01:29, 4 November 2010

Status & tagging log