aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/json_response.php
diff options
context:
space:
mode:
authorCallum Macrae <callum@lynxphp.com>2011-09-24 16:35:46 +0100
committerIgor Wiedler <igor@wiedler.ch>2012-03-31 02:09:16 +0200
commitdbb81fbd2bfadf52502f2200b0420953d98ffb56 (patch)
tree547f86b8f01fe97f6dc2d2c1a1fdb23a7115c537 /phpBB/includes/json_response.php
parent8c0e72cd9e52c754bd6a851de73862b3c6485840 (diff)
downloadforums-dbb81fbd2bfadf52502f2200b0420953d98ffb56.tar
forums-dbb81fbd2bfadf52502f2200b0420953d98ffb56.tar.gz
forums-dbb81fbd2bfadf52502f2200b0420953d98ffb56.tar.bz2
forums-dbb81fbd2bfadf52502f2200b0420953d98ffb56.tar.xz
forums-dbb81fbd2bfadf52502f2200b0420953d98ffb56.zip
[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
Diffstat (limited to 'phpBB/includes/json_response.php')
-rw-r--r--phpBB/includes/json_response.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/json_response.php b/phpBB/includes/json_response.php
index 95d02e3c0e..dfddea98f2 100644
--- a/phpBB/includes/json_response.php
+++ b/phpBB/includes/json_response.php
@@ -30,7 +30,7 @@ class phpbb_json_response
*/
public function send($data, $exit = true)
{
- header('Content-type: application/json');
+ header('Content-Type: application/json');
echo json_encode($data);
if ($exit)