diff options
author | justdave%syndicomm.com <> | 2001-06-27 10:44:32 +0200 |
---|---|---|
committer | justdave%syndicomm.com <> | 2001-06-27 10:44:32 +0200 |
commit | 218999dc8b24961eb2f1e892d9eddb96d70a405f (patch) | |
tree | 0ca52ae6ef7b45d36d2d8024f396f1450c92c9c9 /post_bug.cgi | |
parent | b6622d0c8e5c133e84b1738f94d318816319dbc6 (diff) | |
download | bugzilla-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-x | post_bug.cgi | 4 |
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; |