diff --git a/classes/pref_feeds.php b/classes/pref_feeds.php index 4182c9199..db1161c35 100644 --- a/classes/pref_feeds.php +++ b/classes/pref_feeds.php @@ -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; } diff --git a/js/functions.js b/js/functions.js index 4a4602f9e..6d2a58294 100644 --- a/js/functions.js +++ b/js/functions.js @@ -795,7 +795,7 @@ function removeFeedIcon(id) { return false; } catch (e) { - exception_error("uploadFeedIcon", e); + exception_error("removeFeedIcon", e); } }