diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index d83d7eee3c3..204fe9faf19 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -11401,6 +11401,7 @@ function isAFileWithExecutableContent($filename) * Return the value of token currently saved into session with name 'newtoken'. * This token must be send by any POST as it will be used by next page for comparison with value in session. * + * @since Dolibarr v10.0.7 * @return string */ function newToken() @@ -11412,6 +11413,7 @@ function newToken() * Return the value of token currently saved into session with name 'token'. * For ajax call, you must use this token as a parameter of the call into the js calling script (the called ajax php page must also set constant NOTOKENRENEWAL). * + * @since Dolibarr v10.0.7 * @return string */ function currentToken()