diff options
Diffstat (limited to 'editgroups.cgi')
-rwxr-xr-x | editgroups.cgi | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/editgroups.cgi b/editgroups.cgi index 475b805cc..0554638fa 100755 --- a/editgroups.cgi +++ b/editgroups.cgi @@ -214,9 +214,8 @@ if ($action eq 'new') { # Permit all existing products to use the new group if makeproductgroups. if ($cgi->param('insertnew')) { $dbh->do('INSERT INTO group_control_map - (group_id, product_id, entry, membercontrol, - othercontrol, canedit) - SELECT ?, products.id, 0, ?, ?, 0 FROM products', + (group_id, product_id, membercontrol, othercontrol) + SELECT ?, products.id, ?, ? FROM products', undef, ($group->id, CONTROLMAPSHOWN, CONTROLMAPNA)); } delete_token($token); |