aboutsummaryrefslogtreecommitdiffstats
path: root/demos/autocomplete/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/autocomplete/search.php')
-rw-r--r--demos/autocomplete/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/autocomplete/search.php b/demos/autocomplete/search.php
index 4644caf5c..7daecfbf5 100644
--- a/demos/autocomplete/search.php
+++ b/demos/autocomplete/search.php
@@ -635,6 +635,6 @@ foreach ($items as $key=>$value) {
if (count($result) > 12)
break;
}
-echo json_encode($result);
+echo array_to_json($result);
?> \ No newline at end of file