Fix: Use date of user to define if an action is in past or future.
This commit is contained in:
parent
251f4f3742
commit
f566cd4d99
@ -736,7 +736,7 @@ function show_actions_todo($conf,$langs,$db,$object,$objcon='',$noprint=0)
|
||||
// Check parameters
|
||||
if (! is_object($object)) dol_print_error('','BadParameter');
|
||||
|
||||
$now=dol_now();
|
||||
$now=dol_now('tzuser');
|
||||
$out='';
|
||||
|
||||
if (! empty($conf->agenda->enabled))
|
||||
@ -902,7 +902,7 @@ function show_actions_done($conf,$langs,$db,$object,$objcon='',$noprint=0)
|
||||
$out='';
|
||||
$histo=array();
|
||||
$numaction = 0 ;
|
||||
$now=dol_now();
|
||||
$now=dol_now('tzuser');
|
||||
|
||||
if (! empty($conf->agenda->enabled))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user