X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a8a700e16d286971c43c013b322a1fd4a339de4d..87f68937540b406f35feaa3435f951e7dc6d70ec:/lib/PlaceLookup.php?ds=sidebyside diff --git a/lib/PlaceLookup.php b/lib/PlaceLookup.php index 4fce7e36..41fdea89 100644 --- a/lib/PlaceLookup.php +++ b/lib/PlaceLookup.php @@ -462,7 +462,7 @@ class PlaceLookup return $aPlaces; } - private function getAddressDetails($iPlaceID, $bAll, $sHousenumber) + public function getAddressDetails($iPlaceID, $bAll = false, $sHousenumber = -1) { $sSQL = 'SELECT *,'; $sSQL .= ' get_name_by_language(name,'.$this->aLangPrefOrderSql.') as localname';