X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9ab59cdf423777105470235363919018a8cc25bb..aade8c75cb6036c85f4df36c810fbbcc07f43907:/lib/Geocode.php?ds=sidebyside diff --git a/lib/Geocode.php b/lib/Geocode.php index 532a7720..b65cc277 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -1596,7 +1596,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?