From 236750eba469469136c4e7c3ca825e7be90cd8f4 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sun, 2 Mar 2014 17:52:09 +0100 Subject: [PATCH] always return bbox ccordinates as string fixes https://trac.openstreetmap.org/ticket/5132 --- lib/Geocode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Geocode.php b/lib/Geocode.php index 132be9a5..9b7b9d6c 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -1581,7 +1581,7 @@ $aResult['aPolyPoints'][] = array($aPoint[1], $aPoint[2]); } } - $aResult['aBoundingBox'] = array($aPointPolygon['minlat'],$aPointPolygon['maxlat'],$aPointPolygon['minlon'],$aPointPolygon['maxlon']); + $aResult['aBoundingBox'] = array((string)$aPointPolygon['minlat'],(string)$aPointPolygon['maxlat'],(string)$aPointPolygon['minlon'],(string)$aPointPolygon['maxlon']); } // Is there an icon set for this type of result? -- 2.39.5