From 350e3944d49ad26802e27e64057212d88c4d0bf9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 28 Feb 2013 09:17:17 +0400 Subject: [PATCH] fix uploadicon() returning wrong content-type (closes #543) --- classes/pref/feeds.php | 2 ++ 1 file changed, 2 insertions(+) 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"]); -- 2.39.5