2
0
forked from Wavyzz/dolibarr

use shorter name for function

This commit is contained in:
Frédéric France
2024-01-15 17:48:20 +01:00
parent 15b1ff5b69
commit 4fbb5b01be
2 changed files with 7 additions and 7 deletions

View File

@@ -235,14 +235,14 @@ function isModEnabled($module)
}
/**
* isDolValidTms check if a timestamp is valid.
* isDolTms check if a timestamp is valid.
*
* @param int|string|null $timestamp timestamp to check
* @return bool
*/
function isDolValidTms($timestamp)
function isDolTms($timestamp)
{
if ($timestamp == '') {
if ($timestamp === '') {
dol_syslog('Using empty string for a timestamp is deprecated, prefer use of null when calling page '.$_SERVER["PHP_SELF"], LOG_NOTICE);
return false;
}