X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/46cef36184dc530518068a6a84ba6becd96e09bd..291fdd1894fd44bd117259956ac5299cb0d7babd:/lib/Geocode.php diff --git a/lib/Geocode.php b/lib/Geocode.php index ed8a4f37..340f233e 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -1613,7 +1613,7 @@ if (isset($aResultPlaceIDs) && sizeof($aResultPlaceIDs) && ($this->iMinAddressRank != 0 || $this->iMaxAddressRank != 30)) { // Need to verify passes rank limits before dropping out of the loop (yuk!) - // reduces the number of place id, like a filter + // reduces the number of place ids, like a filter $sSQL = "select place_id from placex where place_id in (".join(',',array_keys($aResultPlaceIDs)).") "; $sSQL .= "and (placex.rank_address between $this->iMinAddressRank and $this->iMaxAddressRank "; if (14 >= $this->iMinAddressRank && 14 <= $this->iMaxAddressRank) $sSQL .= " OR (extratags->'place') = 'city'";