From: Sarah Hoffmann Date: Sun, 9 Oct 2016 19:41:23 +0000 (+0200) Subject: fix syntax error for route boxes X-Git-Tag: v3.0.0~111 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/fb51d51582b96425280b10c2d71591b06890400f fix syntax error for route boxes --- 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 == ' ') ? ',' : ' ';