diff --git a/errors.php b/errors.php index 405da09cc..f7333fd1a 100644 --- a/errors.php +++ b/errors.php @@ -35,7 +35,7 @@ $ERRORS[12] = __("SQL escaping test failed, check your database and PHP configuration"); if ($_REQUEST['mode'] == 'js') { - header("Content-Type: text/plain; charset=UTF-8"); + header("Content-Type: text/javascript; charset=UTF-8"); print "var ERRORS = [];\n";