diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2013-02-28 09:17:17 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2013-02-28 09:17:17 +0400 |
| commit | 350e3944d49ad26802e27e64057212d88c4d0bf9 (patch) | |
| tree | f29f3c01a79bdda7dea7994a970f4dca2d997352 | |
| parent | f4c02a157a51c44c9772e609fcf0e360db42d060 (diff) | |
fix uploadicon() returning wrong content-type (closes #543)
| -rw-r--r-- | classes/pref/feeds.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index da8d68ba1..2ed7b1b24 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"]); |