X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d42aa0870592b36ba9c64eae05a0ceafd2467f4c..2bf546fbf4a4e3509978d3360060a3d2dc665c5c:/website/reverse.php diff --git a/website/reverse.php b/website/reverse.php index 85ca1981..d997088a 100755 --- a/website/reverse.php +++ b/website/reverse.php @@ -46,7 +46,7 @@ if ($sOsmType && $iOsmId > 0) { } } } elseif ($sOutputFormat != 'html') { - userError("Need coordinates or OSM object to lookup."); + userError('Need coordinates or OSM object to lookup.'); } if (isset($aPlace)) { @@ -65,6 +65,7 @@ if (isset($aPlace)) { $aPlace = []; } +logEnd($oDB, $hLog, sizeof($aPlace)?1:0); if (CONST_Debug) { var_dump($aPlace);