Index: trunk/extensions/Configure/Configure.api.php |
— | — | @@ -246,7 +246,7 @@ |
247 | 247 | foreach( $limits as $group => $values ){ |
248 | 248 | $count = isset( $values[0] ) ? $values[0] : 0; |
249 | 249 | $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 ); |
251 | 251 | } |
252 | 252 | $result->setIndexedTagName( $arr, 'group' ); |
253 | 253 | $settingRet['values'][] = $arr; |