Permalink
Browse files

autocomplete: back to custom json encoding (for compat with older PHP…

… implementations, fixed the double quotes
  • Loading branch information...
1 parent de8ed36 commit b72caa0f3d093dfa45cc022f11a4af13225d4ee6 @jzaefferer jzaefferer committed Jan 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 demos/autocomplete/search.php
@@ -635,6 +635,6 @@ function array_to_json( $array ){
if (count($result) > 12)
break;
}
-echo json_encode($result);
+echo array_to_json($result);
?>

0 comments on commit b72caa0

Please sign in to comment.