diff options
Diffstat (limited to 'editcomponents.cgi')
-rwxr-xr-x | editcomponents.cgi | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/editcomponents.cgi b/editcomponents.cgi index 7623be591..c550f0d8c 100755 --- a/editcomponents.cgi +++ b/editcomponents.cgi @@ -129,13 +129,17 @@ if ($action eq 'new') { my $description = trim($cgi->param('description') || ''); my @initial_cc = $cgi->param('initialcc'); - my $component = - Bugzilla::Component->create({ name => $comp_name, - product => $product, - description => $description, - initialowner => $default_assignee, - initialqacontact => $default_qa_contact, - initial_cc => \@initial_cc }); + my $component = Bugzilla::Component->create({ + name => $comp_name, + product => $product, + description => $description, + initialowner => $default_assignee, + initialqacontact => $default_qa_contact, + initial_cc => \@initial_cc, + # XXX We should not be creating series for products that we + # didn't create series for. + create_series => 1, + }); $vars->{'message'} = 'component_created'; $vars->{'comp'} = $component; |