From: Andrew Dolgov Date: Thu, 28 Feb 2013 05:17:17 +0000 (+0400) Subject: fix uploadicon() returning wrong content-type (closes #543) X-Git-Tag: 1.7.1~22^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=350e3944d49ad26802e27e64057212d88c4d0bf9;p=tt-rss.git fix uploadicon() returning wrong content-type (closes #543) --- diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index da8d68ba..2ed7b1b2 100644 --- a/classes/pref/feeds.php +++ b/classes/pref/feeds.php @@ -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"]);