summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-06-27 10:44:32 +0200
committerjustdave%syndicomm.com <>2001-06-27 10:44:32 +0200
commit218999dc8b24961eb2f1e892d9eddb96d70a405f (patch)
tree0ca52ae6ef7b45d36d2d8024f396f1450c92c9c9 /post_bug.cgi
parentb6622d0c8e5c133e84b1738f94d318816319dbc6 (diff)
downloadbugzilla-218999dc8b24961eb2f1e892d9eddb96d70a405f.tar.gz
bugzilla-218999dc8b24961eb2f1e892d9eddb96d70a405f.tar.xz
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 <jmrobins@tgix.com> r= justdave@syndicomm.com
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi4
1 files changed, 2 insertions, 2 deletions
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;