X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c3788d765ed4e7ddf00794085af757714bc102cf..0d338fa4c06f922f30fae30af3062da57af69d53:/lib-php/template/address-json.php?ds=inline diff --git a/lib-php/template/address-json.php b/lib-php/template/address-json.php index 1a429acb..0766eaf4 100644 --- a/lib-php/template/address-json.php +++ b/lib-php/template/address-json.php @@ -63,7 +63,7 @@ if (empty($aPlace)) { } if (isset($aPlace['asgeojson'])) { - $aFilteredPlaces['geojson'] = json_decode($aPlace['asgeojson']); + $aFilteredPlaces['geojson'] = json_decode($aPlace['asgeojson'], true); } if (isset($aPlace['assvg'])) {