From: Andrew Dolgov Date: Mon, 2 Jan 2012 21:37:51 +0000 (+0400) Subject: fix savefeedorder not working due to CSRF check (refs #366) X-Git-Tag: 1.5.9~11 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f6cd767b9f40459cd214b0664ae60d86cc3e22e2;p=tt-rss.git fix savefeedorder not working due to CSRF check (refs #366) --- diff --git a/classes/pref_feeds.php b/classes/pref_feeds.php index d326d227..978a848e 100644 --- a/classes/pref_feeds.php +++ b/classes/pref_feeds.php @@ -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; }