summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-07-16 06:41:58 +0200
committermkanat%bugzilla.org <>2007-07-16 06:41:58 +0200
commite75c47801129f9f2639787302489fedb3aa78465 (patch)
tree583307d7793f6c85c1bcb50b65dac57c2533191b /process_bug.cgi
parent11f84871412d696a1dc449d7d98bba5a0889dafa (diff)
downloadbugzilla-e75c47801129f9f2639787302489fedb3aa78465.tar.gz
bugzilla-e75c47801129f9f2639787302489fedb3aa78465.tar.xz
Bug 388232: Restricting a bug to a group sets reporter_accessible and cc_accessible to 0
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 8316979b2..dcc0d6543 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -667,7 +667,7 @@ if (defined $cgi->param('id')) {
# on show_bug, thus it would look like the user was trying to
# uncheck them, which would then be denied by the set_ functions,
# throwing a confusing error.)
- if (scalar @{$bug->groups}) {
+ if (scalar @{$bug->groups_in}) {
$bug->set_cclist_accessible($cgi->param('cclist_accessible'))
if $bug->check_can_change_field('cclist_accessible', 0, 1);
$bug->set_reporter_accessible($cgi->param('reporter_accessible'))