From e75c47801129f9f2639787302489fedb3aa78465 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Mon, 16 Jul 2007 04:41:58 +0000 Subject: Bug 388232: Restricting a bug to a group sets reporter_accessible and cc_accessible to 0 Patch By Max Kanat-Alexander r=LpSolit, a=LpSolit --- process_bug.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'process_bug.cgi') 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')) -- cgit v1.2.3-24-g4f1b