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

master
Andrew Dolgov 13 years ago
parent f1e511c8f2
commit f6cd767b9f

@ -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;
}

Loading…
Cancel
Save