From 218999dc8b24961eb2f1e892d9eddb96d70a405f Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Wed, 27 Jun 2001 08:44:32 +0000 Subject: Fix for bug 80289: Group restrictions are now identified with checkboxes instead of select widgets. Also, product groups are now only offered if they are either already set, or match the current product (i.e. the option to set a product bit for a product other than the one the bug is in is no longer available) This results in much less clutter for the admin folks on sites with lots of products. Patch by Joe Robbins r= justdave@syndicomm.com --- post_bug.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'post_bug.cgi') diff --git a/post_bug.cgi b/post_bug.cgi index 68842b646..e83690897 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -202,7 +202,7 @@ $comment = trim($comment); # OK except for the fact that it causes e-mail to be suppressed. $comment = $comment ? $comment : " "; -$query .= "now(), 0"; +$query .= "now(), (0"; foreach my $b (grep(/^bit-\d*$/, keys %::FORM)) { if ($::FORM{$b}) { @@ -226,7 +226,7 @@ foreach my $b (grep(/^bit-\d*$/, keys %::FORM)) { -$query .= ")\n"; +$query .= ") & $::usergroupset)\n"; my %ccids; -- cgit v1.2.3-24-g4f1b