Fix php notice

This commit is contained in:
Frédéric Guillot 2014-11-08 17:14:18 -05:00
parent 3b2db03597
commit 906f99cf1c

View File

@ -186,7 +186,7 @@ function check_csrf_values(array &$values)
function check_csrf($token)
{
if (isset($_SESSION['csrf'][$token])) {
unset($_SESSION['csrf'][$values['csrf']]);
unset($_SESSION['csrf'][$token]);
return true;
}