diff options
author | Marc Schumann <wurblzap@gmail.com> | 2010-10-11 18:13:42 +0200 |
---|---|---|
committer | Marc Schumann <wurblzap@gmail.com> | 2010-10-11 18:13:42 +0200 |
commit | 6b3849980cdc1fbb402b4894336d9050aa624059 (patch) | |
tree | d00f71a4d7a5665bad47011daed782c2ac9dfd03 /enter_bug.cgi | |
parent | Bug 602832: 008filter.t doesn't catch [%~ ~%] correctly (diff) | |
download | bugzilla-6b3849980cdc1fbb402b4894336d9050aa624059.tar.gz bugzilla-6b3849980cdc1fbb402b4894336d9050aa624059.tar.bz2 bugzilla-6b3849980cdc1fbb402b4894336d9050aa624059.zip |
Bug 603314 - Unprivileged users cannot create bugs any more.
r/a=LpSolit
Diffstat (limited to 'enter_bug.cgi')
-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; |