Fix : JSON answer didn't work
This commit is contained in:
parent
081bc8ac4e
commit
421e394060
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue