Index: trunk/phase3/includes/api/ApiFeedWatchlist.php |
— | — | @@ -89,7 +89,7 @@ |
90 | 90 | $data = $module->getResultData(); |
91 | 91 | |
92 | 92 | $feedItems = array (); |
93 | | - foreach ($data['query']['watchlist'] as $info) { |
| 93 | + foreach ((array)$data['query']['watchlist'] as $info) { |
94 | 94 | $feedItems[] = $this->createFeedItem($info); |
95 | 95 | } |
96 | 96 | |