summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-03-31 19:16:13 +0000
committerlpsolit%gmail.com <>2009-03-31 19:16:13 +0000
commitd8dc06a626ad4542d9d5db9c5e2a2de7f4003cc6 (patch)
treec931407869e349842e8b30a817f10f22217a37dd /editgroups.cgi
parentBug 432907: Create a JSON frontend for WebServices (diff)
downloadbugzilla-d8dc06a626ad4542d9d5db9c5e2a2de7f4003cc6.tar.gz
bugzilla-d8dc06a626ad4542d9d5db9c5e2a2de7f4003cc6.tar.bz2
bugzilla-d8dc06a626ad4542d9d5db9c5e2a2de7f4003cc6.zip
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-xeditgroups.cgi5
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);