r44236 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44235‎ | r44236 | r44237 >
Date:17:00, 4 December 2008
Author:ialex
Status:ok
Tags:
Comment:
oops :)
Modified paths:
  • /trunk/extensions/Configure/Configure.api.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Configure/Configure.api.php
@@ -246,7 +246,7 @@
247247 foreach( $limits as $group => $values ){
248248 $count = isset( $values[0] ) ? $values[0] : 0;
249249 $period = isset( $values[1] ) ? $values[1] : 0;
250 - $arr[] = array( 'name' => $group, 'count' => $values[0], 'period' => $values[1] );
 250+ $arr[] = array( 'name' => $group, 'count' => $count, 'period' => $period );
251251 }
252252 $result->setIndexedTagName( $arr, 'group' );
253253 $settingRet['values'][] = $arr;

Status & tagging log