diff options
author | gerv%gerv.net <> | 2003-12-09 07:13:35 +0000 |
---|---|---|
committer | gerv%gerv.net <> | 2003-12-09 07:13:35 +0000 |
commit | 26b1242d9b5c322c1bd309aef980c743c21798aa (patch) | |
tree | 4f057c936263aede01228fe3c0b2a7b73e8b699c /editproducts.cgi | |
parent | Bug 227289: INTERFACE comments for account/create.html.tmpl; r=jouni; a=justd... (diff) | |
download | bugzilla-26b1242d9b5c322c1bd309aef980c743c21798aa.tar.gz bugzilla-26b1242d9b5c322c1bd309aef980c743c21798aa.tar.bz2 bugzilla-26b1242d9b5c322c1bd309aef980c743c21798aa.zip |
Bug 227771 - Migration and product/component create code no longer writes series to database. Patch by gerv; r=kiko, a=justdave.
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 |