X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/fa44f7bcb308bfe51cc68ad15c2e4574f2182a09..966ba4fe678284ff9cc6ac5f1385b78dc0b74675:/lib-php/Geocode.php diff --git a/lib-php/Geocode.php b/lib-php/Geocode.php index 978ca679..cd8b6edd 100644 --- a/lib-php/Geocode.php +++ b/lib-php/Geocode.php @@ -103,7 +103,7 @@ class Geocode } $this->iFinalLimit = $iLimit; - $this->iLimit = $iLimit + min($iLimit, 10); + $this->iLimit = $iLimit + max($iLimit, 10); } public function setFeatureType($sFeatureType)