diff --git a/libraries/common.lib.php b/libraries/common.lib.php index b8ef19971..2ef52f692 100755 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -2888,7 +2888,7 @@ function PMA_ajaxResponse($message, $success = true, $extra_data = array()) $response = array_merge($response, $extra_data); } - if(!$GLOBALS['is_header_sent']) { + if(!isset($GLOBALS['is_header_sent'])) { header("Content-Type: application/json"); } echo json_encode($response);