2
0
forked from Wavyzz/dolibarr

Fix: replace mktime() by dol_now()

This commit is contained in:
Regis Houssin
2012-04-30 15:01:25 +02:00
parent 79f2781bdb
commit 73487a6aec
34 changed files with 96 additions and 45 deletions

View File

@@ -410,7 +410,7 @@ function get_next_value($db,$mask,$table,$field,$where='',$objsoc='',$date='',$m
else $valueforccc=$objsoc->code_client;
// Clean parameters
if ($date == '') $date=mktime(); // We use local year and month of PHP server to search numbers
if ($date == '') $date=dol_now(); // We use local year and month of PHP server to search numbers
// but we should use local year and month of user
// Extract value for mask counter, mask raz and mask offset