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