mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-24 10:21:32 +01:00
Fix bug preview on closed status page
This commit is contained in:
@@ -10563,7 +10563,7 @@ function isAFileWithExecutableContent($filename)
|
||||
*/
|
||||
function newToken()
|
||||
{
|
||||
return $_SESSION['newtoken'];
|
||||
return !empty($_SESSION['newtoken']) ? $_SESSION['newtoken'] : "";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user