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 /sanitycheck.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 'sanitycheck.cgi')
-rwxr-xr-x | sanitycheck.cgi | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi index 93228fc67..c43641fb6 100755 --- a/sanitycheck.cgi +++ b/sanitycheck.cgi @@ -140,14 +140,10 @@ if ($cgi->param('createmissinggroupcontrolmapentries')) { my $na = CONTROLMAPNA; my $shown = CONTROLMAPSHOWN; my $insertsth = $dbh->prepare( - qq{INSERT INTO group_control_map ( - group_id, product_id, entry, - membercontrol, othercontrol, canedit - ) - VALUES ( - ?, ?, 0, - $shown, $na, 0 - )}); + qq{INSERT INTO group_control_map + (group_id, product_id, membercontrol, othercontrol) + VALUES (?, ?, $shown, $na)}); + my $updatesth = $dbh->prepare(qq{UPDATE group_control_map SET membercontrol = $shown WHERE group_id = ? |