X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d45524cbfb299f5004a03c52802c64749c5ad212..b14bc75dc4a0ca44485599d8ab4cf1c5781098e2:/website/lookup.php?ds=sidebyside diff --git a/website/lookup.php b/website/lookup.php index 60bd60eb..9d0cea4c 100755 --- a/website/lookup.php +++ b/website/lookup.php @@ -5,6 +5,7 @@ require_once(CONST_BasePath.'/lib/init-website.php'); require_once(CONST_BasePath.'/lib/log.php'); require_once(CONST_BasePath.'/lib/PlaceLookup.php'); + require_once(CONST_BasePath.'/lib/output.php'); if (strpos(CONST_BulkUserIPs, ','.$_SERVER["REMOTE_ADDR"].',') !== false) { @@ -38,7 +39,7 @@ $oPlaceLookup->setIncludeExtraTags(getParamBool('extratags', false)); $oPlaceLookup->setIncludeNameDetails(getParamBool('namedetails', false)); - $aOsmIds = explode(',', $getParamString('osm_ids', '')); + $aOsmIds = explode(',', getParamString('osm_ids', '')); if (count($aOsmIds) > CONST_Places_Max_ID_count) {