autocomplete: back to custom json encoding (for compat with older PHP implementations, fixed the double quotes

This commit is contained in:
Jörn Zaefferer 2010-01-28 13:29:20 +00:00
parent de8ed36df1
commit b72caa0f3d

View File

@ -635,6 +635,6 @@ foreach ($items as $key=>$value) {
if (count($result) > 12)
break;
}
echo json_encode($result);
echo array_to_json($result);
?>