diff --git a/include/lib/function_javascript.php b/include/lib/function_javascript.php index 2b9b7a1b1..0b0a4a654 100644 --- a/include/lib/function_javascript.php +++ b/include/lib/function_javascript.php @@ -2793,7 +2793,7 @@ EOF; */ function json_response($p_answer) { - header("Content-type: text/json; charset: utf8", true); + header("Content-type: application/json; charset: utf8", true); echo json_encode($p_answer, JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES|JSON_NUMERIC_CHECK); }