From 78ad8c0d088aa95ec1bd7eadea45ffdba05d907e Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 15 Sep 2017 16:13:18 -0400 Subject: Bug 1364233 - Add setting to force a group to require MFA and restrict users in that group who have not enabled MFA --- enter_bug.cgi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'enter_bug.cgi') 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'); -- cgit v1.2.3-24-g4f1b