]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-xml.php
fix 500 on search for bounded and class query terms
[nominatim.git] / lib / template / search-xml.php
index 0521de0ec960c1f1a9b53d18e8d6b6d31672dc9e..f8e054e3a1dd673697a35027311c02159f4b8053 100644 (file)
@@ -45,7 +45,7 @@
                        if ($bShowPolygons && isset($aResult['aPolyPoints']))
                        {
                                echo ' polygonpoints=\'';
-                               echo javascript_renderData($aResult['aPolyPoints']);
+                               echo json_encode($aResult['aPolyPoints']);
                                echo '\'';
                        }
                }