Skip to content

Commit 88629fa

Browse files
author
mcramer
committed
- Changed content-type of json remote
1 parent 71accc6 commit 88629fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

interface/lib/classes/json_handler.inc.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ private function _return_json($code, $message, $data = false) {
7474
$ret->code = $code;
7575
$ret->message = $message;
7676
$ret->response = $data;
77-
header('Content-Type: application/x-json; charset="utf-8"');
77+
78+
header('Content-Type: application/json; charset="utf-8"');
7879
print json_encode($ret);
7980
exit;
8081
}

0 commit comments

Comments
 (0)