X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/bd6366ea56fcc8ef76b1eb3422aa846d3569214b..236750eba469469136c4e7c3ca825e7be90cd8f4:/lib/Geocode.php 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?