X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9a5d5d9aec4cf785c8190c37a3136cf09aca6902..99d52aed1b5c07459fa5c99e2eef114d612c7c0e:/lib/Geocode.php diff --git a/lib/Geocode.php b/lib/Geocode.php index 27c33ad6..4b2ae662 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -26,7 +26,7 @@ class Geocode protected $aExcludePlaceIDs = array(); protected $bDeDupe = true; - protected $bReverseInPlan = false; + protected $bReverseInPlan = true; protected $iLimit = 20; protected $iFinalLimit = 10; @@ -846,7 +846,7 @@ class Geocode $this->aRouteWidth, $this->bBoundedSearch ); - } else if ($this->aViewBox) { + } elseif ($this->aViewBox) { $oCtx->setViewboxFromBox($this->aViewBox, $this->bBoundedSearch); } if ($this->aExcludePlaceIDs) {