]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/PlaceLookup.php
Merge pull request #969 from mtmail/update-vagrant-md
[nominatim.git] / 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';