]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/address-geocodejson.php
simplify getNearestRoadFeature function
[nominatim.git] / lib / template / address-geocodejson.php
index 480a4f9e4673b6e0224de7692bc12969284f4fde..032dcf4347a1046eb684a517af6cebb980aef176 100644 (file)
@@ -76,6 +76,6 @@ if (empty($aPlace)) {
                                            'licence' => 'ODbL',
                                            'query' => $sQuery
                                           ),
-                           'features' => $aFilteredPlaces
+                           'features' => array($aFilteredPlaces)
                           ));
 }