X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/efafa5271957fb54b356ec1c90e8613f14de40d4..018ef5bd539d1b6396dea953e1b6bc920538b132:/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 cbf25c87..430237a2 100644 --- a/lib-php/template/search-batch-json.php +++ b/lib-php/template/search-batch-json.php @@ -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'])) {