http://www.mediawiki.org/wiki/Special:Code/MediaWiki/76184
Revision: 76184
Author: nikerabbit
Date: 2010-11-06 09:21:00 +0000 (Sat, 06 Nov 2010)
Log Message:
-----------
Fix oversight in r75973 that broke gadgets tab in preferences
Modified Paths:
--------------
trunk/extensions/Gadgets/Gadgets.php
Modified: trunk/extensions/Gadgets/Gadgets.php
===================================================================
--- trunk/extensions/Gadgets/Gadgets.php 2010-11-06 08:57:11 UTC (rev
76183)
+++ trunk/extensions/Gadgets/Gadgets.php 2010-11-06 09:21:00 UTC (rev
76184)
@@ -137,7 +137,7 @@
} else {
$destination = &$options;
}
- foreach( $thisSection as $gname ) {
+ foreach( array_keys( $thisSection ) as $gname ) {
$destination[wfMsgExt( "gadget-$gname", 'parseinline'
)] = $gname;
}
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs