]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/address-xml.php
remove NY hack and wait for complaints to arrive
[nominatim.git] / lib / template / address-xml.php
index 9989bb31aa0a515ffe508f3aef4a68be5563ee59..0747844a67ac6db8a8306f0dc74152c3b36d6364 100644 (file)
@@ -30,7 +30,7 @@
 
                if ($bShowAddressDetails) {
                        echo "<addressparts>";
-                       foreach($aAddress as $sKey => $sValue)
+                       foreach($aPlace['aAddress'] as $sKey => $sValue)
                        {
                                $sKey = str_replace(' ','_',$sKey);
                                echo "<$sKey>";