diff --git a/html/ajax_form.php b/html/ajax_form.php index 3851d5b4f2..999a43a4dc 100644 --- a/html/ajax_form.php +++ b/html/ajax_form.php @@ -29,7 +29,6 @@ if (!$_SESSION['authenticated']) { if (preg_match('/^[a-zA-Z0-9\-]+$/', $_POST['type']) == 1) { if (file_exists('includes/forms/'.$_POST['type'].'.inc.php')) { - header('Content-type: application/json'); include_once 'includes/forms/'.$_POST['type'].'.inc.php'; } }