Skip to content

Commit

Permalink
autocomplete: back to custom json encoding (for compat with older PHP…
Browse files Browse the repository at this point in the history
… implementations, fixed the double quotes
  • Loading branch information
jzaefferer committed Jan 28, 2010
1 parent de8ed36 commit b72caa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/autocomplete/search.php
Expand Up @@ -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.