]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/reverse.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / website / reverse.php
index 822081ef7d4caff8973550e909400db78865d599..4e150a510f2480d515b8c2a3bc7fee28e7a5f85d 100755 (executable)
@@ -55,14 +55,16 @@ if (isset($aPlace)) {
         $aPlace['place_id'],
         $aPlace['lon'],
         $aPlace['lat'],
         $aPlace['place_id'],
         $aPlace['lon'],
         $aPlace['lat'],
-        $fRadius
+        $fRadius, 
+        $fLat, 
+        $fLon 
     );
 
     if ($aOutlineResult) {
         $aPlace = array_merge($aPlace, $aOutlineResult);
     }
 } else {
     );
 
     if ($aOutlineResult) {
         $aPlace = array_merge($aPlace, $aOutlineResult);
     }
 } else {
-    $aPlace = [];
+    $aPlace = array();
 }
 
 logEnd($oDB, $hLog, sizeof($aPlace)?1:0);
 }
 
 logEnd($oDB, $hLog, sizeof($aPlace)?1:0);