]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/Geocode.php
documentation for SearchContext and SearchDescription
[nominatim.git] / lib / Geocode.php
index 27c33ad68fae7896bb2c852fadd60fc3dad38636..e02aae9491aa9033a5698e8cdfc46b6cd55cf8f4 100644 (file)
@@ -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) {