]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-json.php
Merge pull request #395 from mtmail/php7-support
[nominatim.git] / lib / template / search-json.php
index 5f29fdfb22c3087ef3fb013c01a3c0859e83ad26..fc50ee0e09b2554916271e00f11cac6082418ba3 100644 (file)
 
                if (isset($aPointDetails['aBoundingBox']))
                {
-                       $aPlace['boundingbox'] = array(
-                               $aPointDetails['aBoundingBox'][0],
-                               $aPointDetails['aBoundingBox'][1],
-                               $aPointDetails['aBoundingBox'][2],
-                               $aPointDetails['aBoundingBox'][3]);
+                       $aPlace['boundingbox'] = $aPointDetails['aBoundingBox'];
 
                        if (isset($aPointDetails['aPolyPoints']) && $bShowPolygons)
                        {