]> git.wh0rd.org Git - tt-rss.git/commitdiff
do not generate warning on csrf_token being unassigned
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 8 Jan 2012 19:51:47 +0000 (23:51 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 8 Jan 2012 19:51:47 +0000 (23:51 +0400)
backend.php

index 3b1208f316997965ba901716ca519eabec7c50e3..1337db5c2e86cc8eca2d57ba3246cacd4ad0152e 100644 (file)
@@ -35,7 +35,7 @@
                return;
        }
 
-       $csrf_token = $_REQUEST['csrf_token'];
+       @$csrf_token = $_REQUEST['csrf_token'];
 
        require_once "functions.php";
        require_once "sessions.php";