use json_encode in search stuff as well

remove JSON_UNESCAPED_UNICODE, supported only by php >=5.3.3 and
clients should be able to handle the escaping
This commit is contained in:
Sarah Hoffmann
2012-07-01 17:24:27 +02:00
parent 1cb55c6e31
commit e598e2ceed
3 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@
if ($bShowPolygons && isset($aResult['aPolyPoints']))
{
echo ' polygonpoints=\'';
echo javascript_renderData($aResult['aPolyPoints']);
echo json_encode($aResult['aPolyPoints']);
echo '\'';
}
}