r64778 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64777‎ | r64778 | r64779 >
Date:09:33, 9 April 2010
Author:catrope
Status:reverted
Tags:
Comment:
1.16wmf4: Fix PHP warning
Modified paths:
  • /branches/wmf/1.16wmf4/includes/api/ApiBase.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.16wmf4/includes/api/ApiBase.php
@@ -475,7 +475,7 @@
476476 $params = $this->getFinalParams();
477477 $results = array();
478478
479 - foreach ( $params as $paramName => $paramSettings ) {
 479+ foreach ( (array)$params as $paramName => $paramSettings ) {
480480 $results[$paramName] = $this->getParameterFromSettings( $paramName, $paramSettings, $parseLimit );
481481 }
482482

Follow-up revisions

RevisionCommit summaryAuthorDate
r653131.16wmf4: Revert r64778, merge the almost equivalent but better r64454 from t...catrope13:58, 20 April 2010

Status & tagging log