Skip to content

Commit 27f9f31

Browse files
committed
fix(issue): remove duplicate item in status dropdown
1 parent acec9bb commit 27f9f31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

inc/issue.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,7 @@ public static function getSpecificValueToSelect($field, $name = '', $values = ''
776776
case 'status' :
777777
$ticket_opts = Ticket::getAllStatusArray(true);
778778
$ticket_opts = $ticket_opts + PluginFormcreatorFormAnswer::getStatuses();
779+
unset($ticket_opts[PluginFormcreatorFormAnswer::STATUS_WAITING]);
779780
return Dropdown::showFromArray($name, $ticket_opts, ['display' => false,
780781
'value' => $values[$field]]);
781782
break;

0 commit comments

Comments
 (0)