diff --git a/htdocs/core/db/sqlite.class.php b/htdocs/core/db/sqlite.class.php index 84b8742eb75..36f583011e4 100644 --- a/htdocs/core/db/sqlite.class.php +++ b/htdocs/core/db/sqlite.class.php @@ -683,7 +683,7 @@ class DoliDBSqlite extends DoliDB * @param int $gm 1=Input informations are GMT values, otherwise local to server TZ * @return date Date TMS */ - function jdate($string, $gmt=false) + function jdate($string, $gm=false) { $string=preg_replace('/([^0-9])/i','',$string); $tmp=$string.'000000';