diff options
-rwxr-xr-x | enter_bug.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi index 9b5eb52c0..3a2b87fad 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -545,7 +545,7 @@ scalar(@statuses) || ThrowUserError('no_initial_bug_status'); unless ($has_editbugs || $has_canconfirm) { # ... use UNCONFIRMED if available, else use the first status of the list. my ($unconfirmed) = grep { $_->name eq 'UNCONFIRMED' } @statuses; - @statuses = ($unconfirmed || $statuses[0]); + @statuses = ($unconfirmed ? $unconfirmed : $statuses[0]); } $vars->{'bug_status'} = \@statuses; |