X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/0d179b8c97fee42617ac3303e238e5df3850c99f..d594bb238b974afa638bcb8f92c069c97914f9b9:/utils/warm.php diff --git a/utils/warm.php b/utils/warm.php index b034fa8c..18121eb6 100755 --- a/utils/warm.php +++ b/utils/warm.php @@ -41,7 +41,8 @@ $aLookup = $oReverseGeocode->lookup($fLat, $fLon); if ($aLookup && $aLookup['place_id']) { - $aDetails = $oPlaceLookup->lookupPlace($aLookup); + $aDetails = $oPlaceLookup->lookup((int)$aLookup['place_id'], + $aLookup['type'], $aLookup['fraction']); if ($bVerbose) echo $aDetails['langaddress']."\n"; } else echo ".";