Bugzilla Bug 356565

Adding the category crashes


git-svn-id: svn://10.0.0.236/trunk@213753 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ghendricks%novell.com
2006-10-17 17:54:37 +00:00
parent 3cb56aca4f
commit 1d6eff5eb9
2 changed files with 4 additions and 4 deletions

View File

@@ -131,8 +131,8 @@ sub store {
my $dbh = Bugzilla->dbh;
$dbh->do("INSERT INTO test_builds ($columns)
VALUES (?,?,?,?,?)",
undef, "NULL", $self->{'product_id'}, $self->{'name'},
$self->{'description'}, $self->{'milestone'});
undef, (undef, $self->{'product_id'}, $self->{'name'},
$self->{'description'}, $self->{'milestone'}));
my $key = $dbh->bz_last_key( 'test_builds', 'build_id' );
return $key;
}

View File

@@ -135,8 +135,8 @@ sub store {
my $dbh = Bugzilla->dbh;
$dbh->do("INSERT INTO test_case_categories ($columns)
VALUES (?,?,?,?)",
undef, "NULL", $self->{'product_id'}, $self->{'name'},
$self->{'description'});
undef, (undef, $self->{'product_id'}, $self->{'name'},
$self->{'description'}));
my $key = $dbh->bz_last_key( 'test_case_categories', 'category_id' );
return $key;
}