mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
fix syntax error for route boxes
This commit is contained in:
@@ -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 == ' ') ? ',' : ' ';
|
||||
|
||||
Reference in New Issue
Block a user