diff options
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-x | editproducts.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editproducts.cgi b/editproducts.cgi index b02588949..7afbcd9ad 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -428,9 +428,11 @@ if ($action eq 'new') { push(@series, [$::FORM{'open_name'}, $query]); foreach my $sdata (@series) { - my $series = new Bugzilla::Series($product, $::FORM{'subcategory'}, + my $series = new Bugzilla::Series(undef, $product, + $::FORM{'subcategory'}, $sdata->[0], $::userid, 1, $sdata->[1] . "&product=$product", 1); + $series->writeToDatabase(); } # Make versioncache flush |