X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c3788d765ed4e7ddf00794085af757714bc102cf..3cc3e3b2e319c9db92da2efdefec2672780c5df9:/lib-php/template/search-json.php?ds=inline diff --git a/lib-php/template/search-json.php b/lib-php/template/search-json.php index 3f9e0a57..5fb13020 100644 --- a/lib-php/template/search-json.php +++ b/lib-php/template/search-json.php @@ -53,7 +53,7 @@ foreach ($aSearchResults as $iResNum => $aPointDetails) { } if (isset($aPointDetails['asgeojson'])) { - $aPlace['geojson'] = json_decode($aPointDetails['asgeojson']); + $aPlace['geojson'] = json_decode($aPointDetails['asgeojson'], true); } if (isset($aPointDetails['assvg'])) {