Commit 6b384998 authored by Marc Schumann's avatar Marc Schumann

Bug 603314 - Unprivileged users cannot create bugs any more.

r/a=LpSolit
parent b6efd932
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment