1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-02 20:47:11 +00:00

fix some minor typos and stuff

This commit is contained in:
Andrew Dolgov
2015-06-07 18:41:18 +03:00
parent ca5d39e866
commit 415a3b50c9
5 changed files with 8 additions and 19 deletions

View File

@@ -3,7 +3,9 @@ require_once "colors.php";
class Feeds extends Handler_Protected {
function csrf_ignore($method) {
private $params;
function csrf_ignore($method) {
$csrf_ignored = array("index", "feedbrowser", "quickaddfeed", "search");
return array_search($method, $csrf_ignored) !== false;