From 26b1242d9b5c322c1bd309aef980c743c21798aa Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Tue, 9 Dec 2003 07:13:35 +0000 Subject: Bug 227771 - Migration and product/component create code no longer writes series to database. Patch by gerv; r=kiko, a=justdave. --- editproducts.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'editproducts.cgi') 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 -- cgit v1.2.1