diff options
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");  		} | 
