mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-28 23:42:59 +03:00
Merge pull request #915 from foodev/master
PlaceLookup::getAddressDetails() should be public
This commit is contained in:
commit
ba57a9ba07
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user