summaryrefslogtreecommitdiffstats
path: root/editcomponents.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 /editcomponents.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 'editcomponents.cgi')
-rwxr-xr-xeditcomponents.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/editcomponents.cgi b/editcomponents.cgi
index 87ab9d9a6..1cac27a99 100755
--- a/editcomponents.cgi
+++ b/editcomponents.cgi
@@ -466,9 +466,10 @@ if ($action eq 'new') {
push(@series, [$::FORM{'closed_name'}, $resolved . $prodcomp]);
foreach my $sdata (@series) {
- my $series = new Bugzilla::Series($product, $component,
+ my $series = new Bugzilla::Series(undef, $product, $component,
$sdata->[0], $::userid, 1,
$sdata->[1], 1);
+ $series->writeToDatabase();
}
# Make versioncache flush