]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-html.php
Merge branch 'master' of http://github.com/twain47/Nominatim
[nominatim.git] / lib / template / search-html.php
index 70ca70e018edb2cd72523859e34704e69a2f3d77..9269672d7d16e857f4af3028c683615b0ba56d17 100644 (file)
@@ -358,7 +358,7 @@ target="_blank">FAQ</a></td>
                        echo ', '.$aResult['aBoundingBox'][1];
                        echo ', '.$aResult['aBoundingBox'][2];
                        echo ', '.$aResult['aBoundingBox'][3];
-                       if (isset($aResult['aPolyPoints'])) echo ', '.javascript_renderData($aResult['aPolyPoints']);
+                       if (isset($aResult['aPolyPoints'])) echo ', '.json_encode($aResult['aPolyPoints']);
                        echo ');\'>';
                }
                elseif (isset($aResult['zoom']))