diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2010-01-28 13:29:20 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2010-01-28 13:29:20 +0000 |
commit | b72caa0f3d093dfa45cc022f11a4af13225d4ee6 (patch) | |
tree | cd8b36afb4a55b43c3be3c141b36d77a65d69bea /demos | |
parent | de8ed36df1582b2e76e7127e683acd0b2535f8f7 (diff) | |
download | jquery-ui-b72caa0f3d093dfa45cc022f11a4af13225d4ee6.tar.gz jquery-ui-b72caa0f3d093dfa45cc022f11a4af13225d4ee6.zip |
autocomplete: back to custom json encoding (for compat with older PHP implementations, fixed the double quotes
Diffstat (limited to 'demos')
-rw-r--r-- | demos/autocomplete/search.php | 2 |
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 |