summaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi8
1 files changed, 4 insertions, 4 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index 0fae8158d..33cdf8535 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -395,14 +395,14 @@ $vars->{'bug_status'} = \@statuses;
# to the first confirmed bug status on the list, if available.
my $picked_status = formvalue('bug_status');
-if ($picked_status and grep($_->name eq $picked_status, @statuses)) {
+if ( $picked_status and grep( $_->name eq $picked_status, @statuses ) ) {
$default{'bug_status'} = formvalue('bug_status');
-} elsif (scalar @statuses == 1) {
+}
+elsif ( scalar @statuses == 1 ) {
$default{'bug_status'} = $statuses[0]->name;
}
else {
- $default{'bug_status'} = ($statuses[0]->name ne 'UNCONFIRMED')
- ? $statuses[0]->name : $statuses[1]->name;
+ $default{'bug_status'} = ( $statuses[0]->name ne 'UNCONFIRMED' ) ? $statuses[0]->name : $statuses[1]->name;
}
my @groups = $cgi->param('groups');