diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-01-09 18:53:19 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-01-09 18:53:19 -0500 |
commit | 66953a2148bb7a19ac79c1a4ccda2852ee87501e (patch) | |
tree | 5fceb3772a744181c5311aa157afb1a8c34aa276 /engine/lib/actions.php | |
parent | c4b49227819624b14b61e6eedbfa6779cd794d45 (diff) | |
download | elgg-66953a2148bb7a19ac79c1a4ccda2852ee87501e.tar.gz elgg-66953a2148bb7a19ac79c1a4ccda2852ee87501e.tar.bz2 |
coding standard fixes to engine
Diffstat (limited to 'engine/lib/actions.php')
-rw-r--r-- | engine/lib/actions.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/lib/actions.php b/engine/lib/actions.php index f415842ab..c6613e6d6 100644 --- a/engine/lib/actions.php +++ b/engine/lib/actions.php @@ -459,8 +459,7 @@ function ajax_forward_hook($hook, $type, $reason, $params) { // however some browsers will not accept the JSON MIME type. if (stripos($_SERVER['HTTP_ACCEPT'], 'application/json') === FALSE) { header("Content-type: text/plain"); - } - else { + } else { header("Content-type: application/json"); } |