summaryrefslogtreecommitdiffstats
path: root/editproducts.cgi
diff options
context:
space:
mode:
authorgerv%gerv.net <>2003-12-09 08:13:35 +0100
committergerv%gerv.net <>2003-12-09 08:13:35 +0100
commit26b1242d9b5c322c1bd309aef980c743c21798aa (patch)
tree4f057c936263aede01228fe3c0b2a7b73e8b699c /editproducts.cgi
parentd001808d4dbf77199214e4d4a74fa9aa40d4c9a1 (diff)
downloadbugzilla-26b1242d9b5c322c1bd309aef980c743c21798aa.tar.gz
bugzilla-26b1242d9b5c322c1bd309aef980c743c21798aa.tar.xz
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-xeditproducts.cgi4
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