X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ab9202b1c2de078822756d447e450610f0815692..ff36d7d8df16d1a1d94656bda7b8b7d4b9422a3a:/lib/Geocode.php diff --git a/lib/Geocode.php b/lib/Geocode.php index af3262f9..7ab53d97 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -770,7 +770,7 @@ class Geocode } } - //if ($iQueryLoop > 20) break; + if ($iQueryLoop > 20) break; } if (!empty($aResults)) { @@ -842,8 +842,8 @@ class Geocode } if (!empty($aResults)) break; - //if ($iGroupLoop > 4) break; - //if ($iQueryLoop > 30) break; + if ($iGroupLoop > 4) break; + if ($iQueryLoop > 30) break; } } else { // Just interpret as a reverse geocode