mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-11 03:51:25 +01:00
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