]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/lookup.php
Merge pull request #1193 from mtmail/postgresql-10-postgis-scripts
[nominatim.git] / website / lookup.php
index 695a083a4fb3c5acb800f55c36b0e856048e7e99..f09506a4c0de7ae1aef97afa22b38a4aecc9cae1 100755 (executable)
@@ -25,6 +25,7 @@ $aCleanedQueryParts = array();
 
 $oPlaceLookup = new Nominatim\PlaceLookup($oDB);
 $oPlaceLookup->loadParamArray($oParams);
 
 $oPlaceLookup = new Nominatim\PlaceLookup($oDB);
 $oPlaceLookup->loadParamArray($oParams);
+$oPlaceLookup->setIncludeAddressDetails($oParams->getBool('addressdetails', true));
 
 $aOsmIds = explode(',', $oParams->getString('osm_ids', ''));
 
 
 $aOsmIds = explode(',', $oParams->getString('osm_ids', ''));