]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/address-json.php
fix case sensitivity of cyrillic ghe
[nominatim.git] / lib / template / address-json.php
index 0a1d074a3540e8f68aa0d323fbeff98307e1e0f0..2f0778187f9cce63ff0c2cc5c877ba282cb6bc5b 100644 (file)
@@ -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);