X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/08f77067cb4b32c91f991924ff718a0508f0fbef..203b5f7de12ca09d275103eb2eb70fe5a4c20466:/website/lookup.php diff --git a/website/lookup.php b/website/lookup.php index 578d4c37..71c93715 100755 --- a/website/lookup.php +++ b/website/lookup.php @@ -29,7 +29,7 @@ $oPlaceLookup->loadParamArray($oParams); $aOsmIds = explode(',', $oParams->getString('osm_ids', '')); if (count($aOsmIds) > CONST_Places_Max_ID_count) { - userError('Bulk User: Only ' . CONST_Places_Max_ID_count . " ids are allowed in one request."); + userError('Bulk User: Only ' . CONST_Places_Max_ID_count . ' ids are allowed in one request.'); } foreach ($aOsmIds as $sItem) { @@ -63,7 +63,7 @@ $sQuery = join(',', $aCleanedQueryParts); // we initialize these to avoid warnings in our logfile $sViewBox = ''; $bShowPolygons = ''; -$aExcludePlaceIDs = []; +$aExcludePlaceIDs = array(); $sMoreURL = ''; include(CONST_BasePath.'/lib/template/search-'.$sOutputFormat.'.php');