diff --git a/src/Ticket.php b/src/Ticket.php index ea83992..1026ef5 100644 --- a/src/Ticket.php +++ b/src/Ticket.php @@ -41,6 +41,7 @@ use Group_Ticket; use Group_User; use Html; +use NotificationEvent; use Planning; use Session; use Ticket_User; @@ -652,6 +653,10 @@ public function launchTicketTransfer($params) "transferticketentity" ) . " $theEntity " . $groupText ]); + //task created - trigger notification + if (class_exists('\NotificationEvent')) { + \NotificationEvent::raiseEvent('update', $ticket); + } $ticket = new \Ticket(); $ticket->getFromDB($params['id_ticket']);