Skip to content
Snippets Groups Projects
Commit c2eb47f3 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #3325 from atm-ph/3.6_fix_timespent_id

FIX no projet_task_time id from trigger TASK_TIMESPENT_CREATE
parents 565b0861 824da6d2
No related branches found
No related tags found
No related merge requests found
...@@ -770,6 +770,7 @@ class Task extends CommonObject ...@@ -770,6 +770,7 @@ class Task extends CommonObject
{ {
$tasktime_id = $this->db->last_insert_id(MAIN_DB_PREFIX."projet_task_time"); $tasktime_id = $this->db->last_insert_id(MAIN_DB_PREFIX."projet_task_time");
$ret = $tasktime_id; $ret = $tasktime_id;
$this->timespent_id = $ret;
if (! $notrigger) if (! $notrigger)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment