2
0
forked from Wavyzz/dolibarr

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

View File

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