X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/db3ced17bbfff00411f506d8c84419c875959d5e..6f15306766b6681e708cd2152d37d7c33681d2b9:/lib-php/template/address-json.php?ds=sidebyside diff --git a/lib-php/template/address-json.php b/lib-php/template/address-json.php index 691d6a74..1a429acb 100644 --- a/lib-php/template/address-json.php +++ b/lib-php/template/address-json.php @@ -1,21 +1,37 @@ getAddressNames(); } - if (isset($aPlace['sExtraTags'])) $aFilteredPlaces['extratags'] = $aPlace['sExtraTags']; - if (isset($aPlace['sNameDetails'])) $aFilteredPlaces['namedetails'] = $aPlace['sNameDetails']; + if (isset($aPlace['sExtraTags'])) { + $aFilteredPlaces['extratags'] = $aPlace['sExtraTags']; + } + if (isset($aPlace['sNameDetails'])) { + $aFilteredPlaces['namedetails'] = $aPlace['sNameDetails']; + } if (isset($aPlace['aBoundingBox'])) { $aFilteredPlaces['boundingbox'] = $aPlace['aBoundingBox'];