]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix savefeedorder not working due to CSRF check (refs #366)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 2 Jan 2012 21:37:51 +0000 (01:37 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 2 Jan 2012 21:37:51 +0000 (01:37 +0400)
classes/pref_feeds.php

index d326d2278cc45198fc5f3ed1b9bff373c90464ea..978a848e9804ca53fc7fa0911d3ce0731ff3ef8f 100644 (file)
@@ -2,7 +2,8 @@
 class Pref_Feeds extends Protected_Handler {
 
        function csrf_ignore($method) {
-               $csrf_ignored = array("index", "getfeedtree", "add", "editcats", "editfeed");
+               $csrf_ignored = array("index", "getfeedtree", "add", "editcats", "editfeed",
+                       "savefeedorder");
 
                return array_search($method, $csrf_ignored) !== false;
        }