From: justdave%syndicomm.com <> Date: Fri, 25 Apr 2003 04:50:33 +0000 (+0000) Subject: Bug 193965: On product change, user can accidentally opt-out of required group restri... X-Git-Tag: bugzilla-2.17.4~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8216dd28e655da769df2279c0567e10ee658566;p=thirdparty%2Fbugzilla.git Bug 193965: On product change, user can accidentally opt-out of required group restriction Patch by Joel Peshkin r= bbaetz, justdave a= justdave --- diff --git a/process_bug.cgi b/process_bug.cgi index 53e8f77d6f..09b45cf92f 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -1511,7 +1511,8 @@ foreach my $id (@idlist) { && ($oldcontrol == CONTROLMAPDEFAULT)) { # Bug was in a default group. $buginanydefault = 1; - if ($newcontrol != CONTROLMAPDEFAULT) { + if (($newcontrol != CONTROLMAPDEFAULT) + && ($newcontrol != CONTROLMAPMANDATORY)) { # Bug was in a default group that no longer is. $buginanychangingdefault = 1; push (@defaultstoremove, $groupid);