Skip to content

Commit

Permalink
fix(issue): bad status if ticket has valdiation on creation
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Aug 24, 2023
1 parent 51cc22a commit fc0ea0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/formanswer.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1582,7 +1582,7 @@ public function createIssue() {
'items_id' => $ticketId,
'itemtype' => Ticket::class,
'name' => $issueName,
'status' => $ticket->fields['status'],
'status' => PluginFormcreatorCommon::getTicketStatusForIssue($ticket),
'date_creation' => $ticket->fields['date'],
'date_mod' => $ticket->fields['date_mod'],
'entities_id' => $ticket->fields['entities_id'],
Expand Down

0 comments on commit fc0ea0a

Please sign in to comment.