]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-xml.php
Merge branch 'cmake-port' into master
[nominatim.git] / lib / template / search-xml.php
index b61ff22f55fe2eed589466c682a8f650ac14b52b..6a382ebf7bcb4bde0c83783e05211f9ba8241ccb 100644 (file)
                if (isset($aResult['aBoundingBox']))
                {
                        echo ' boundingbox="';
                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']))
                        echo '"';
 
                        if ($bShowPolygons && isset($aResult['aPolyPoints']))