]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge pull request #915 from foodev/master
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 12 Feb 2018 19:00:13 +0000 (20:00 +0100)
committerGitHub <noreply@github.com>
Mon, 12 Feb 2018 19:00:13 +0000 (20:00 +0100)
PlaceLookup::getAddressDetails() should be public

lib/PlaceLookup.php

index 4fce7e3683a74a32d1b6a95faca75e731d831446..41fdea89ebdc9b99fdae011ff0788f650eadd661 100644 (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';