diff --git a/ajax.php b/ajax.php index b59f7ed6..98796e8d 100644 --- a/ajax.php +++ b/ajax.php @@ -120,7 +120,7 @@ if (isset($_GET['merge_ticket_get_json_details'])) { } else { //Return ticket, client and contact details for the given ticket number $response = mysqli_fetch_array($sql); - $response = array_map('htmlentities', $response); + echo json_encode($response); } }