Skip to content

Commit

Permalink
Fix task added from ajax climb (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz authored Sep 3, 2024
1 parent 7a0d724 commit ee4d333
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion inc/ticket.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ee4d333

Please sign in to comment.