FIX #12277
This commit is contained in:
parent
8f07fc0550
commit
16ddc56353
@ -309,6 +309,7 @@ if ($action == 'addtime' && $user->rights->projet->lire && GETPOST('formfilterac
|
||||
$object->timespent_fk_user = $usertoprocess->id;
|
||||
$object->timespent_date = dol_time_plus_duree($firstdaytoshow, $key, 'd');
|
||||
$object->timespent_datehour = $object->timespent_date;
|
||||
$object->timespent_note = $object->description;
|
||||
|
||||
$result = $object->addTimeSpent($user);
|
||||
if ($result < 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user