forked from Wavyzz/dolibarr
Update functions.lib.php
This commit is contained in:
committed by
GitHub
parent
133721904d
commit
600657223b
@@ -10563,7 +10563,7 @@ function isAFileWithExecutableContent($filename)
|
||||
*/
|
||||
function newToken()
|
||||
{
|
||||
return !empty($_SESSION['newtoken']) ? $_SESSION['newtoken'] : "";
|
||||
return empty($_SESSION['newtoken']) ? '' : $_SESSION['newtoken'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user