diff --git a/mozilla/webtools/testopia/Bugzilla/Testopia/Build.pm b/mozilla/webtools/testopia/Bugzilla/Testopia/Build.pm index 8e1afe147d6..e4769e9f066 100644 --- a/mozilla/webtools/testopia/Bugzilla/Testopia/Build.pm +++ b/mozilla/webtools/testopia/Bugzilla/Testopia/Build.pm @@ -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; } diff --git a/mozilla/webtools/testopia/Bugzilla/Testopia/Category.pm b/mozilla/webtools/testopia/Bugzilla/Testopia/Category.pm index 3fbdabb9a7a..10deef25bd2 100644 --- a/mozilla/webtools/testopia/Bugzilla/Testopia/Category.pm +++ b/mozilla/webtools/testopia/Bugzilla/Testopia/Category.pm @@ -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; }