r46848 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46847‎ | r46848 | r46849 >
Date:15:31, 5 February 2009
Author:catrope
Status:ok
Tags:
Comment:
Fix E_WARNING reported by siebrand
Modified paths:
  • /trunk/phase3/includes/api/ApiFeedWatchlist.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiFeedWatchlist.php
@@ -89,7 +89,7 @@
9090 $data = $module->getResultData();
9191
9292 $feedItems = array ();
93 - foreach ($data['query']['watchlist'] as $info) {
 93+ foreach ((array)$data['query']['watchlist'] as $info) {
9494 $feedItems[] = $this->createFeedItem($info);
9595 }
9696

Status & tagging log