summaryrefslogtreecommitdiffstats
path: root/editcomponents.cgi
diff options
context:
space:
mode:
authorgerv%gerv.net <>2003-11-08 09:25:21 +0100
committergerv%gerv.net <>2003-11-08 09:25:21 +0100
commit7654b510a59a829d15798337ab4cc87a860013c9 (patch)
treebb97d819f4a0fc0bf25cd72844d4f8738c3c5b16 /editcomponents.cgi
parent496759fb381fc81832abfd9dd75f9dd29ae0ca3a (diff)
downloadbugzilla-7654b510a59a829d15798337ab4cc87a860013c9.tar.gz
bugzilla-7654b510a59a829d15798337ab4cc87a860013c9.tar.xz
Bug 222564 - The chart made when creating a new Product/Component is not public. Patch by gerv; r=kiko, a=justdave.
Diffstat (limited to 'editcomponents.cgi')
-rwxr-xr-xeditcomponents.cgi8
1 files changed, 2 insertions, 6 deletions
diff --git a/editcomponents.cgi b/editcomponents.cgi
index 539da47a5..adf41ea1f 100755
--- a/editcomponents.cgi
+++ b/editcomponents.cgi
@@ -465,13 +465,9 @@ if ($action eq 'new') {
push(@series, [$::FORM{'closed_name'}, $resolved . $prodcomp]);
foreach my $sdata (@series) {
- # We create the series with an nonsensical series_id, which is
- # guaranteed not to exist. This is OK, because we immediately call
- # createInDatabase().
- my $series = new Bugzilla::Series(-1, $product, $component,
+ my $series = new Bugzilla::Series($product, $component,
$sdata->[0], $::userid, 1,
- $sdata->[1]);
- $series->createInDatabase();
+ $sdata->[1], 1);
}
# Make versioncache flush