]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-xml.php
Merge branch 'tigerlines' of https://github.com/markigail/Nominatim
[nominatim.git] / lib / template / search-xml.php
index 5d8b26bc684a564cbc6720f382dd6b52ced215b0..54217933ef7d8962a5e3934b3186b6ae9cb8d57d 100644 (file)
                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']))