X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/282c6777ee11360b1b5bd8e60196d81f90480c79..ec6a427e0a7272445c992f6f046ae8cb5f5a534d:/website/lookup.php?ds=sidebyside 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');