Commit b0afe45f authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 344448: editparams.cgi doesn't let me clear a group - Patch by Frédéric…

Bug 344448: editparams.cgi doesn't let me clear a group - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
parent abb2584a
......@@ -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";
......
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment