X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/28166c5bb11e3aa3a22e3c5dc13075dbe1b7dc9a..443bfec0350085788ddcc6b5ca5a541e2321ec64:/lib/template/search-xml.php diff --git a/lib/template/search-xml.php b/lib/template/search-xml.php index 5d8b26bc..54217933 100644 --- a/lib/template/search-xml.php +++ b/lib/template/search-xml.php @@ -36,10 +36,7 @@ if (isset($aResult['aBoundingBox'])) { echo ' boundingbox="'; - echo $aResult['aBoundingBox'][0]; - echo ','.$aResult['aBoundingBox'][1]; - echo ','.$aResult['aBoundingBox'][2]; - echo ','.$aResult['aBoundingBox'][3]; + echo join(',',$aResult['aBoundingBox']); echo '"'; if ($bShowPolygons && isset($aResult['aPolyPoints']))