]> git.wh0rd.org - tt-rss.git/blobdiff - errors.php
Add width/height attribute to image enclosures
[tt-rss.git] / errors.php
index 405da09ccabdb453bb9b5edeaf9d23e815f1228e..f7333fd1af0098c4fba6bf1128e30fbfa9ad1990 100644 (file)
@@ -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";