X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f5641037cff6f96708baa157b00287930196474d..4123a3fd6b2e6ba7cdcddd1c9aedb792f7eb27ca:/lib/Geocode.php 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 == ' ') ? ',' : ' ';