mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-29 21:10:31 +02: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:
committed by
Igor Wiedler
parent
8c0e72cd9e
commit
dbb81fbd2b
@@ -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)
|
||||||
|
Reference in New Issue
Block a user