diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Config/Common.pm | 1 | ||||
-rw-r--r-- | Bugzilla/Config/GroupSecurity.pm | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Config/Common.pm b/Bugzilla/Config/Common.pm index 9fe648d01..30b484468 100644 --- a/Bugzilla/Config/Common.pm +++ b/Bugzilla/Config/Common.pm @@ -154,6 +154,7 @@ sub check_opsys { sub check_group { my $group_name = shift; + return "" unless $group_name; my $group = new Bugzilla::Group({'name' => $group_name}); unless (defined $group) { return "Must be an existing group name"; diff --git a/Bugzilla/Config/GroupSecurity.pm b/Bugzilla/Config/GroupSecurity.pm index 08b202cda..0235a8cb1 100644 --- a/Bugzilla/Config/GroupSecurity.pm +++ b/Bugzilla/Config/GroupSecurity.pm @@ -94,6 +94,7 @@ sub get_param_list { sub _get_all_group_names { my @group_names = map {$_->name} Bugzilla::Group::get_all_groups(); + unshift(@group_names, ''); return \@group_names; } 1; |