diff --git a/CHANGELOG.md b/CHANGELOG.md index 53fffad..f5e3865 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - Prevent an escalation when a ticket is updated -- Fix climbing with history +- Fix escalating with history +- Fix task not added when escalating with history ### Changed diff --git a/inc/ticket.class.php b/inc/ticket.class.php index 06344be..453f65d 100644 --- a/inc/ticket.class.php +++ b/inc/ticket.class.php @@ -516,7 +516,7 @@ public static function climb_group($tickets_id, $groups_id) $updates_ticket = new Ticket(); $updates_ticket->update($ticket_details + [ '_actors' => PluginEscaladeTicket::getTicketFieldsWithActors($tickets_id, $groups_id), - '_plugin_escalade_no_history' => true, // Prevent a duplicated task to be added + '_plugin_escalade_no_history' => false, 'actortype' => CommonITILActor::ASSIGN, 'groups_id' => $groups_id, '_form_object' => $_form_object,