Bug 227771 - Migration and product/component create code no longer writes series to database. Patch by gerv; r=kiko, a=justdave.

git-svn-id: svn://10.0.0.236/trunk@150156 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gerv%gerv.net
2003-12-08 23:13:35 +00:00
parent 75544e0dba
commit 950519fd33
3 changed files with 9 additions and 4 deletions

View File

@@ -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