X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e77ddfc6d591eee11683564bcfa0f4c3ae292737..203b5f7de12ca09d275103eb2eb70fe5a4c20466:/website/reverse.php diff --git a/website/reverse.php b/website/reverse.php index 822081ef..4e150a51 100755 --- a/website/reverse.php +++ b/website/reverse.php @@ -55,14 +55,16 @@ if (isset($aPlace)) { $aPlace['place_id'], $aPlace['lon'], $aPlace['lat'], - $fRadius + $fRadius, + $fLat, + $fLon ); if ($aOutlineResult) { $aPlace = array_merge($aPlace, $aOutlineResult); } } else { - $aPlace = []; + $aPlace = array(); } logEnd($oDB, $hLog, sizeof($aPlace)?1:0);