fix broken feed icon upload (closes )

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) {
$csrf_ignored = array("index", "getfeedtree", "add", "editcats", "editfeed",
"savefeedorder");
"savefeedorder", "uploadicon");
return array_search($method, $csrf_ignored) !== false;
}

View File

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