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

Merge pull request #2709 from atm-alexis/3.7

FIX event not linked to contact on creation
parents de74bbed 7d348203
No related branches found
No related tags found
No related merge requests found
......@@ -280,7 +280,7 @@ class ActionComm extends CommonObject
$sql.= (isset($this->socid) && $this->socid > 0?" '".$this->socid."'":"null").",";
$sql.= (isset($this->fk_project) && $this->fk_project > 0?" '".$this->fk_project."'":"null").",";
$sql.= " '".$this->db->escape($this->note)."',";
$sql.= (isset($this->contactid) && $this->contactid > 0?"'".$this->contactid."'":"null").",";
$sql.= (isset($this->contact->id) && $this->contact->id > 0?"'".$this->contact->id."'":"null").",";
$sql.= (isset($user->id) && $user->id > 0 ? "'".$user->id."'":"null").",";
$sql.= ($userownerid>0?"'".$userownerid."'":"null").",";
$sql.= ($userdoneid>0?"'".$userdoneid."'":"null").",";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment