Skip to content
Snippets Groups Projects
Commit 824da6d2 authored by Phf's avatar Phf
Browse files

FIX no projet_task_time id from trigger TASK_TIMESPENT_CREATE

parent a0fc119c
No related branches found
No related tags found
No related merge requests found
......@@ -770,7 +770,8 @@ class Task extends CommonObject
{
$tasktime_id = $this->db->last_insert_id(MAIN_DB_PREFIX."projet_task_time");
$ret = $tasktime_id;
$this->timespent_id = $ret;
if (! $notrigger)
{
// Call triggers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment