Fix [ bug #1740 ] Clone project make task date crazy
This commit is contained in:
parent
aaf2cca45f
commit
bd8b393d8a
@ -1007,7 +1007,8 @@ class Task extends CommonObject
|
||||
|
||||
$error=0;
|
||||
|
||||
$now=dol_now();
|
||||
//Use 00:00 of today if time is use on task.
|
||||
$now=dol_mktime(0,0,0,dol_print_date(dol_now(),'%m'),dol_print_date(dol_now(),'%d'),dol_print_date(dol_now(),'%Y'));
|
||||
|
||||
$datec = $now;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user