From 35b9844be1b05e1d75646f53dc080d106ab5770e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 15 May 2012 22:00:43 +0400 Subject: [PATCH] fix broken feed icon upload (closes #459) --- classes/pref_feeds.php | 2 +- js/functions.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/pref_feeds.php b/classes/pref_feeds.php index 4182c919..db1161c3 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 4a4602f9..6d2a5829 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); } } -- 2.39.5