Update functions.lib.php

This commit is contained in:
Laurent Destailleur 2022-03-16 20:12:01 +01:00 committed by GitHub
parent 133721904d
commit 600657223b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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