Merge pull request #18234 from ptibogxiv/patch-432

fix for php 8
This commit is contained in:
Laurent Destailleur 2021-07-28 19:36:13 +02:00 committed by GitHub
commit d2311bcdeb
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'] : '';
}
/**