diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 9c958e56f7c..68e83d607ea 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -10563,7 +10563,7 @@ function isAFileWithExecutableContent($filename) */ function newToken() { - return !empty($_SESSION['newtoken']) ? $_SESSION['newtoken'] : ""; + return empty($_SESSION['newtoken']) ? '' : $_SESSION['newtoken']; } /**