]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-json.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / lib / template / search-json.php
index 068599191b0d01e4a5e5a25842bda2a6783aa731..fc50ee0e09b2554916271e00f11cac6082418ba3 100644 (file)
@@ -18,7 +18,7 @@
 
                if (isset($aPointDetails['aBoundingBox']))
                {
-                       $aPlace['boundingbox'] = $aPointDetails['aBoundingBox'][0];
+                       $aPlace['boundingbox'] = $aPointDetails['aBoundingBox'];
 
                        if (isset($aPointDetails['aPolyPoints']) && $bShowPolygons)
                        {