Merge pull request #915 from foodev/master

PlaceLookup::getAddressDetails() should be public
This commit is contained in:
Sarah Hoffmann 2018-02-12 20:00:13 +01:00 committed by GitHub
commit ba57a9ba07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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';