Index: branches/wmf/1.18wmf1/includes/api/ApiQuerySiteinfo.php |
— | — | @@ -284,12 +284,12 @@ |
285 | 285 | if ( isset( $langNames[$row->iw_prefix] ) ) { |
286 | 286 | $val['language'] = $langNames[$row->iw_prefix]; |
287 | 287 | } |
288 | | - $val['url'] = wfExpandUrl( $row['iw_url'], PROTO_CURRENT ); |
289 | | - if( isset( $row['iw_wikiid'] ) ) { |
290 | | - $val['wikiid'] = $row['iw_wikiid']; |
| 288 | + $val['url'] = wfExpandUrl( $row->iw_url, PROTO_CURRENT ); |
| 289 | + if( isset( $row->iw_wikiid ) ) { |
| 290 | + $val['wikiid'] = $row->iw_wikiid; |
291 | 291 | } |
292 | | - if( isset( $row['iw_api'] ) ) { |
293 | | - $val['api'] = $row['iw_api']; |
| 292 | + if( isset( $row->iw_api ) ) { |
| 293 | + $val['api'] = $row->iw_api; |
294 | 294 | } |
295 | 295 | |
296 | 296 | $data[] = $val; |