X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7c56f24c1f83e9d19c9df723bb86335598add902..f1c4615c32532cdb03845c017f660fa5c5a06331:/lib/template/address-xml.php diff --git a/lib/template/address-xml.php b/lib/template/address-xml.php index fcd90b85..9eeb3b77 100644 --- a/lib/template/address-xml.php +++ b/lib/template/address-xml.php @@ -1,6 +1,5 @@ ".htmlspecialchars($aPlace['langaddress']).""; - if ($bShowAddressDetails) { + if ($bShowAddressDetails) { echo ""; - foreach($aAddress as $sKey => $sValue) + foreach($aPlace['aAddress'] as $sKey => $sValue) { $sKey = str_replace(' ','_',$sKey); echo "<$sKey>"; @@ -39,7 +39,7 @@ echo ""; } echo ""; - } + } } - + echo "";