fix broken feed icon upload (closes #459)

This commit is contained in:
Andrew Dolgov 2012-05-15 22:00:43 +04:00
parent 882311d9ad
commit 35b9844be1
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ class Pref_Feeds extends Protected_Handler {
function csrf_ignore($method) { function csrf_ignore($method) {
$csrf_ignored = array("index", "getfeedtree", "add", "editcats", "editfeed", $csrf_ignored = array("index", "getfeedtree", "add", "editcats", "editfeed",
"savefeedorder"); "savefeedorder", "uploadicon");
return array_search($method, $csrf_ignored) !== false; return array_search($method, $csrf_ignored) !== false;
} }

View File

@ -795,7 +795,7 @@ function removeFeedIcon(id) {
return false; return false;
} catch (e) { } catch (e) {
exception_error("uploadFeedIcon", e); exception_error("removeFeedIcon", e);
} }
} }