aboutsummaryrefslogtreecommitdiff
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 /enter_bug.cgi
parentBug 602832: 008filter.t doesn't catch [%~ ~%] correctly (diff)
downloadbugzilla-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-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;