Skip to content

Commit fc0ea0a

Browse files
committed
fix(issue): bad status if ticket has valdiation on creation
1 parent 51cc22a commit fc0ea0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/formanswer.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1582,7 +1582,7 @@ public function createIssue() {
15821582
'items_id' => $ticketId,
15831583
'itemtype' => Ticket::class,
15841584
'name' => $issueName,
1585-
'status' => $ticket->fields['status'],
1585+
'status' => PluginFormcreatorCommon::getTicketStatusForIssue($ticket),
15861586
'date_creation' => $ticket->fields['date'],
15871587
'date_mod' => $ticket->fields['date_mod'],
15881588
'entities_id' => $ticket->fields['entities_id'],

0 commit comments

Comments
 (0)