]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix uploadicon() returning wrong content-type (closes #543)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 28 Feb 2013 05:17:17 +0000 (09:17 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 28 Feb 2013 05:17:17 +0000 (09:17 +0400)
classes/pref/feeds.php

index da8d68ba1f51a8e622917bebd45f31a65c9a768a..2ed7b1b241f87393e307de375bf98adffba6f1f3 100644 (file)
@@ -437,6 +437,8 @@ class Pref_Feeds extends Handler_Protected {
        }
 
        function uploadicon() {
+               header("Content-type: text/html");
+
                $icon_file = $_FILES['icon_file']['tmp_name'];
                $feed_id = db_escape_string($_REQUEST["feed_id"]);