X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/db3ced17bbfff00411f506d8c84419c875959d5e..9805a461ebb108c68090809265b41b454cbcd4a8:/lib-php/template/search-batch-json.php diff --git a/lib-php/template/search-batch-json.php b/lib-php/template/search-batch-json.php index c4bc29cb..430237a2 100644 --- a/lib-php/template/search-batch-json.php +++ b/lib-php/template/search-batch-json.php @@ -1,11 +1,21 @@ $aPointDetails) { $aPlace = array( @@ -50,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'])) {