]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/Geocode.php
fix syntax error for route boxes
[nominatim.git] / lib / Geocode.php
index 21f3686939567c15de494aef7f0271a573ac4cae..4063eda665b533ec162b5eeddc58da680af72549 100644 (file)
@@ -162,7 +162,7 @@ class Geocode
 
         $this->sViewboxCentreSQL = "ST_SetSRID('LINESTRING(";
         $sSep = '';
-        foreach ($this->aRoutePoints as $aPoint) {
+        foreach ($aRoutePoints as $aPoint) {
             $fPoint = (float)$aPoint;
             $this->sViewboxCentreSQL .= $sSep.$fPoint;
             $sSep = ($sSep == ' ') ? ',' : ' ';