diff options
author | lpsolit%gmail.com <> | 2009-03-31 21:16:13 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-03-31 21:16:13 +0200 |
commit | d8dc06a626ad4542d9d5db9c5e2a2de7f4003cc6 (patch) | |
tree | c931407869e349842e8b30a817f10f22217a37dd /editgroups.cgi | |
parent | a86ee3a1ca5213d5401c6425cfb0fcfc7bb15e78 (diff) | |
download | bugzilla-d8dc06a626ad4542d9d5db9c5e2a2de7f4003cc6.tar.gz bugzilla-d8dc06a626ad4542d9d5db9c5e2a2de7f4003cc6.tar.xz |
Bug 478972: Remove the 'useentrygroupdefault' parameter - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
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); |