Index: trunk/extensions/GeoData/ApiQueryGeoSearch.php |
— | — | @@ -65,7 +65,7 @@ |
66 | 66 | ); |
67 | 67 | // retrieve some fields only if page set needs them |
68 | 68 | if ( is_null( $resultPageSet ) ) { |
69 | | - $this->addFields( 'page_id', 'page_namespace', 'page_title' ); |
| 69 | + $this->addFields( array( 'page_id', 'page_namespace', 'page_title' ) ); |
70 | 70 | } else { |
71 | 71 | $this->addFields( array( "{$dbr->tableName( 'page' )}.*" ) ); |
72 | 72 | } |