]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 193965: On product change, user can accidentally opt-out of required group restri...
authorjustdave%syndicomm.com <>
Fri, 25 Apr 2003 04:50:33 +0000 (04:50 +0000)
committerjustdave%syndicomm.com <>
Fri, 25 Apr 2003 04:50:33 +0000 (04:50 +0000)
Patch by Joel Peshkin <bugreport@peshkin.net>
r= bbaetz, justdave
a= justdave

process_bug.cgi

index 53e8f77d6f3f7bf60082240e677251d38d6134d3..09b45cf92fc135f072a72f56abd9d6c98ab404a5 100755 (executable)
@@ -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);