]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/template/search-batch-json.php
Fixed typo
[nominatim.git] / lib-php / template / search-batch-json.php
index cbf25c874f1e4b5bcb2f3cc3680c375844bb8dd8..430237a294a5d33782323fab3d789f5932730436 100644 (file)
@@ -60,7 +60,7 @@ foreach ($aBatchResults as $aSearchResults) {
         }
 
         if (isset($aPointDetails['asgeojson'])) {
-            $aPlace['geojson'] = json_decode($aPointDetails['asgeojson']);
+            $aPlace['geojson'] = json_decode($aPointDetails['asgeojson'], true);
         }
 
         if (isset($aPointDetails['assvg'])) {