]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/PlaceLookup.php
do not allow importance to become 0
[nominatim.git] / lib / PlaceLookup.php
index 4fce7e3683a74a32d1b6a95faca75e731d831446..41fdea89ebdc9b99fdae011ff0788f650eadd661 100644 (file)
@@ -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 .= '  get_name_by_language(name,'.$this->aLangPrefOrderSql.') as localname';
     {
         $sSQL = 'SELECT *,';
         $sSQL .= '  get_name_by_language(name,'.$this->aLangPrefOrderSql.') as localname';