From d8dc06a626ad4542d9d5db9c5e2a2de7f4003cc6 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 31 Mar 2009 19:16:13 +0000 Subject: Bug 478972: Remove the 'useentrygroupdefault' parameter - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sanitycheck.cgi | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'sanitycheck.cgi') 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 = ? -- cgit v1.2.3-24-g4f1b