fix for php 8

This commit is contained in:
ptibogxiv 2021-07-26 15:07:52 +02:00 committed by GitHub
parent 079b014b14
commit dc30052d3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10204,7 +10204,7 @@ function newToken()
*/
function currentToken()
{
return $_SESSION['token'];
return isset($_SESSION['token']) ? $_SESSION['token'] : null;
}
/**