Skip to content

Commit

Permalink
fix(issue): remove duplicate item in status dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Aug 12, 2022
1 parent acec9bb commit 27f9f31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/issue.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,7 @@ public static function getSpecificValueToSelect($field, $name = '', $values = ''
case 'status' :
$ticket_opts = Ticket::getAllStatusArray(true);
$ticket_opts = $ticket_opts + PluginFormcreatorFormAnswer::getStatuses();
unset($ticket_opts[PluginFormcreatorFormAnswer::STATUS_WAITING]);
return Dropdown::showFromArray($name, $ticket_opts, ['display' => false,
'value' => $values[$field]]);
break;
Expand Down

0 comments on commit 27f9f31

Please sign in to comment.