X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6a3c6c43ea7133c934834ce1face9212f4e3d239..87f68937540b406f35feaa3435f951e7dc6d70ec:/lib/PlaceLookup.php 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';