aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Schumann <wurblzap@gmail.com>2010-10-11 18:13:42 +0200
committerMarc Schumann <wurblzap@gmail.com>2010-10-11 18:13:42 +0200
commit6b3849980cdc1fbb402b4894336d9050aa624059 (patch)
treed00f71a4d7a5665bad47011daed782c2ac9dfd03
parentb6efd9328a1e888aec61e41f70ee1f53a6c85324 (diff)
downloadbugs-6b3849980cdc1fbb402b4894336d9050aa624059.tar
bugs-6b3849980cdc1fbb402b4894336d9050aa624059.tar.gz
bugs-6b3849980cdc1fbb402b4894336d9050aa624059.tar.bz2
bugs-6b3849980cdc1fbb402b4894336d9050aa624059.tar.xz
bugs-6b3849980cdc1fbb402b4894336d9050aa624059.zip
Bug 603314 - Unprivileged users cannot create bugs any more.
r/a=LpSolit
-rwxr-xr-xenter_bug.cgi2
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;