]> git.openstreetmap.org Git - nominatim.git/commitdiff
fix syntax error for route boxes
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 9 Oct 2016 19:41:23 +0000 (21:41 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 9 Oct 2016 19:41:23 +0000 (21:41 +0200)
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 == ' ') ? ',' : ' ';