mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
fix syntax errors and update tests
Some of the tests with bad parameters now return a HTTP 400.
This commit is contained in:
@@ -56,8 +56,8 @@
|
||||
$hLog = logStart($oDB, 'reverse', $_SERVER['QUERY_STRING'], $aLangPrefOrder);
|
||||
|
||||
|
||||
$sOsmType = getParamSet('osmtype', array('N', 'W', 'R'));
|
||||
$iOsmId = getParamInt('osmid', -1);
|
||||
$sOsmType = getParamSet('osm_type', array('N', 'W', 'R'));
|
||||
$iOsmId = getParamInt('osm_id', -1);
|
||||
$fLat = getParamFloat('lat');
|
||||
$fLon = getParamFloat('lon');
|
||||
if ($sOsmType && $iOsmId > 0)
|
||||
|
||||
Reference in New Issue
Block a user