X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d365338c4f94ef0d005d6c096a9754a5259e1e0b..5a6da83577935cf4622efa6c7ec32baf80d370fc:/lib/Geocode.php?ds=inline 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