]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix broken feed icon upload (closes #459)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 15 May 2012 18:00:43 +0000 (22:00 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 15 May 2012 18:00:43 +0000 (22:00 +0400)
classes/pref_feeds.php
js/functions.js

index 4182c9199b10030199054cfdb9b9be1b8fd5d3b6..db1161c35ef2f4212b0cb0afa594dad0f2c750b6 100644 (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;
        }
index 4a4602f9ed42fbe7d801e3cf6fc8d2322274fb91..6d2a5829427918c4135b8bdfb891144cf66d6c37 100644 (file)
@@ -795,7 +795,7 @@ function removeFeedIcon(id) {
 
                return false;
        } catch (e) {
-               exception_error("uploadFeedIcon", e);
+               exception_error("removeFeedIcon", e);
        }
 }