]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/address-jsonv2.php
customized tablespace settings for poldi
[nominatim.git] / lib / template / address-jsonv2.php
index b6ff1627dcb33d550cba8fbe952c64cc4e4bf8bc..d697730c14226dd68378517376443bd2bcc272b7 100644 (file)
@@ -29,7 +29,7 @@
 
                $aFilteredPlaces['display_name'] = $aPlace['langaddress'];
                 $aFilteredPlaces['name'] = $aPlace['placename'];
-               $aFilteredPlaces['address'] = $aAddress;
+               if ($bShowAddressDetails) $aFilteredPlaces['address'] = $aAddress;
        }
 
        if (isset($_GET['json_callback']) && preg_match('/^[-A-Za-z0-9:_]+$/',$_GET['json_callback']))