diff options
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-x | editproducts.cgi | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/editproducts.cgi b/editproducts.cgi index 2d2f81009..432e2a9c6 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -240,9 +240,8 @@ if ($action eq 'new') { my $group_description = "Access to bugs in the " . $product->name . " product"; - $dbh->do('INSERT INTO groups - (name, description, isbuggroup, last_changed) - VALUES (?, ?, ?, NOW())', + $dbh->do('INSERT INTO groups (name, description, isbuggroup) + VALUES (?, ?, ?)', undef, ($productgroup, $group_description, 1)); my $gid = $dbh->bz_last_key('groups', 'id'); |