fix savefeedorder not working due to CSRF check (refs #366)

This commit is contained in:
Andrew Dolgov 2012-01-03 01:37:51 +04:00
parent f1e511c8f2
commit f6cd767b9f
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,8 @@
class Pref_Feeds extends Protected_Handler { class Pref_Feeds extends Protected_Handler {
function csrf_ignore($method) { 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; return array_search($method, $csrf_ignored) !== false;
} }