1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-06 02:09:17 +00:00

fix uploadicon() returning wrong content-type (closes #543)

This commit is contained in:
Andrew Dolgov
2013-02-28 09:17:17 +04:00
parent f4c02a157a
commit 350e3944d4

View 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"]);