]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/Geocode.php
Update Vagrantfile
[nominatim.git] / lib-php / Geocode.php
index 9e3b0b92fbc47638dd4ff4227a45b9617a9c2a6c..ec1fa81da07fdae7b0891608d1fc66de1adfe40b 100644 (file)
@@ -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)