Fix: Action created by triggers does not saved owner of action.
This commit is contained in:
parent
cf72c05a99
commit
9fb11cd13b
@ -641,8 +641,8 @@ class InterfaceActionsAuto
|
|||||||
$actioncomm->contact = $contactforaction;
|
$actioncomm->contact = $contactforaction;
|
||||||
$actioncomm->societe = $societeforaction;
|
$actioncomm->societe = $societeforaction;
|
||||||
$actioncomm->author = $user; // User saving action
|
$actioncomm->author = $user; // User saving action
|
||||||
//$actioncomm->usertodo = $user; // User affected to action
|
$actioncomm->usertodo = $user; // User action is assigned to (owner of action)
|
||||||
$actioncomm->userdone = $user; // User doing action
|
$actioncomm->userdone = $user; // User doing action (deprecated, not used anymore)
|
||||||
|
|
||||||
$actioncomm->fk_element = $object->id;
|
$actioncomm->fk_element = $object->id;
|
||||||
$actioncomm->elementtype = $object->element;
|
$actioncomm->elementtype = $object->element;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user