Merge pull request #22994 from ibuiv/patch-1
Fix #20685 User Id not transmitted on Api addTimeSpent
This commit is contained in:
commit
b522517c75
@ -545,7 +545,7 @@ class Tasks extends DolibarrApi
|
||||
$this->task->timespent_datehour = $newdate;
|
||||
$this->task->timespent_withhour = 1;
|
||||
$this->task->timespent_duration = $duration;
|
||||
$this->task->timespent_fk_user = $user_id;
|
||||
$this->task->timespent_fk_user = $uid;
|
||||
$this->task->timespent_note = $note;
|
||||
|
||||
$result = $this->task->addTimeSpent(DolibarrApiAccess::$user, 0);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user