]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/reverse.php
fix syntax errors and update tests
[nominatim.git] / website / reverse.php
index 17b8a2ca08178a6eb1c15d3f69fce3fabedcafff..7f5eca78e5cea47237dbcbf5279761f0f38403ad 100755 (executable)
@@ -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)