diff options
Diffstat (limited to 'extensions/BMO')
-rw-r--r-- | extensions/BMO/Extension.pm | 2 | ||||
-rw-r--r-- | extensions/BMO/lib/Data.pm | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm index e7f6554e4..ab0be0819 100644 --- a/extensions/BMO/Extension.pm +++ b/extensions/BMO/Extension.pm @@ -581,7 +581,7 @@ sub bug_check_groups { : [ map { trim($_) } split(',', $group_names) ]; foreach my $name (@$group_names) { - if ($always_fileable_group{$name}) { + if (exists $always_fileable_group{$name}) { my $group = new Bugzilla::Group({ name => $name }) or next; $add_groups->{$group->id} = $group; } diff --git a/extensions/BMO/lib/Data.pm b/extensions/BMO/lib/Data.pm index 929498e74..798162fbd 100644 --- a/extensions/BMO/lib/Data.pm +++ b/extensions/BMO/lib/Data.pm @@ -335,4 +335,7 @@ our %product_sec_groups = ( "_default" => 'core-security' ); +# Default security groups for products should always been fileable +map { $always_fileable_group{$_} = 1 } values %product_sec_groups; + 1; |