Index: branches/wmf/1.16wmf4/includes/api/ApiBase.php |
— | — | @@ -475,7 +475,7 @@ |
476 | 476 | $params = $this->getFinalParams(); |
477 | 477 | $results = array(); |
478 | 478 | |
479 | | - foreach ( $params as $paramName => $paramSettings ) { |
| 479 | + foreach ( (array)$params as $paramName => $paramSettings ) { |
480 | 480 | $results[$paramName] = $this->getParameterFromSettings( $paramName, $paramSettings, $parseLimit ); |
481 | 481 | } |
482 | 482 | |