From fb51d51582b96425280b10c2d71591b06890400f Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sun, 9 Oct 2016 21:41:23 +0200 Subject: [PATCH] fix syntax error for route boxes --- lib/Geocode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Geocode.php b/lib/Geocode.php index 21f36869..4063eda6 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -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 == ' ') ? ',' : ' '; -- 2.45.2