Fix bug preview on closed status page

This commit is contained in:
lmarcouiller
2022-03-16 15:56:39 +01:00
parent 92f82c7474
commit 43c39d833a
3 changed files with 9 additions and 3 deletions

View File

@@ -10563,7 +10563,7 @@ function isAFileWithExecutableContent($filename)
*/
function newToken()
{
return $_SESSION['newtoken'];
return !empty($_SESSION['newtoken']) ? $_SESSION['newtoken'] : "";
}
/**