X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7c56f24c1f83e9d19c9df723bb86335598add902..54126633f6078ebb86b53c614fcb243039e839fb:/lib/template/address-json.php?ds=sidebyside diff --git a/lib/template/address-json.php b/lib/template/address-json.php index 0a1d074a..2f077818 100644 --- a/lib/template/address-json.php +++ b/lib/template/address-json.php @@ -21,7 +21,7 @@ if (isset($aPlace['lat'])) $aFilteredPlaces['lat'] = $aPlace['lat']; if (isset($aPlace['lon'])) $aFilteredPlaces['lon'] = $aPlace['lon']; $aFilteredPlaces['display_name'] = $aPlace['langaddress']; - if ($bShowAddressDetails) $aFilteredPlaces['address'] = $aAddress; + if ($bShowAddressDetails) $aFilteredPlaces['address'] = $aPlace['aAddress']; } javascript_renderData($aFilteredPlaces);