mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 06:18:52 +00:00
[ticket/10328] Added capital to "Content-type" in phpbb_json_response.
It was originally Content-type, but has been replaced with Content-Type, which is correct. PHPBB3-10328
This commit is contained in:
parent
8c0e72cd9e
commit
dbb81fbd2b
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class phpbb_json_response
|
||||||
*/
|
*/
|
||||||
public function send($data, $exit = true)
|
public function send($data, $exit = true)
|
||||||
{
|
{
|
||||||
header('Content-type: application/json');
|
header('Content-Type: application/json');
|
||||||
echo json_encode($data);
|
echo json_encode($data);
|
||||||
|
|
||||||
if ($exit)
|
if ($exit)
|
||||||
|
|
Loading…
Add table
Reference in a new issue