X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1b33999f105a0d2499b880f77fefae29346bab2d..ab30a69ad9d1402b7d932fcd3ef8daa2fb2a8c93:/utils/warm.php?ds=inline 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 ".";