From 7654b510a59a829d15798337ab4cc87a860013c9 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Sat, 8 Nov 2003 08:25:21 +0000 Subject: Bug 222564 - The chart made when creating a new Product/Component is not public. Patch by gerv; r=kiko, a=justdave. --- editcomponents.cgi | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'editcomponents.cgi') 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 -- cgit v1.2.3-24-g4f1b