summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi10
1 files changed, 5 insertions, 5 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 3070fbcec..65b0c4e2b 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -894,16 +894,16 @@ if (@bugidlist) {
$dbh->sql_group_by('bugs.bug_id'));
$sth->execute();
while (my ($bug_id, $min_membercontrol) = $sth->fetchrow_array()) {
- $min_membercontrol{$bug_id} = $min_membercontrol;
+ $min_membercontrol{$bug_id} = $min_membercontrol || CONTROLMAPNA;
}
foreach my $bug (@bugs) {
next unless defined($min_membercontrol{$bug->{'bug_id'}});
- if ($min_membercontrol{$bug->{'bug_id'}} == CONTROLMAPSHOWN
- || $min_membercontrol{$bug->{'bug_id'}} == CONTROLMAPDEFAULT) {
- $bug->{'secure_mode'} = 'manual';
- } elsif ($min_membercontrol{$bug->{'bug_id'}} == CONTROLMAPMANDATORY) {
+ if ($min_membercontrol{$bug->{'bug_id'}} == CONTROLMAPMANDATORY) {
$bug->{'secure_mode'} = 'implied';
}
+ else {
+ $bug->{'secure_mode'} = 'manual';
+ }
}
}