]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/lookup.php
Merge pull request #469 from lonvia/refactor-php
[nominatim.git] / website / lookup.php
index 60bd60ebd156f2cacf1b252628d4afb9fa1765a2..9d0cea4cc3602d4dd22b840c53cb79b2f621821a 100755 (executable)
@@ -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)
        {