X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/282c6777ee11360b1b5bd8e60196d81f90480c79..8841a328c811072b093df2c91c48972e040cf994:/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');