mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
PlaceLookup::getAddressDetails() should be public, restore default values
PlaceLookup::getAddressDetails() is also used within the hierarchy.php file so it must not be private.
This commit is contained in:
@@ -462,7 +462,7 @@ class PlaceLookup
|
|||||||
return $aPlaces;
|
return $aPlaces;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getAddressDetails($iPlaceID, $bAll, $sHousenumber)
|
public function getAddressDetails($iPlaceID, $bAll = false, $sHousenumber = -1)
|
||||||
{
|
{
|
||||||
$sSQL = 'SELECT *,';
|
$sSQL = 'SELECT *,';
|
||||||
$sSQL .= ' get_name_by_language(name,'.$this->aLangPrefOrderSql.') as localname';
|
$sSQL .= ' get_name_by_language(name,'.$this->aLangPrefOrderSql.') as localname';
|
||||||
|
|||||||
Reference in New Issue
Block a user