]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 152935 - Pref for no notification on Target Milestone change not respected. Patch...
authorgerv%gerv.net <>
Fri, 20 Sep 2002 06:01:16 +0000 (06:01 +0000)
committergerv%gerv.net <>
Fri, 20 Sep 2002 06:01:16 +0000 (06:01 +0000)
processmail

index 5a1460c18fea0561020d87340a3fafca768b7e6d..45aaacc77ef51f25125c22039a3b50cf5372dcd2 100755 (executable)
@@ -393,7 +393,7 @@ sub filterExcludeList ($$) {
 # if the Status was changed to Resolved or Verified
 #       set the Resolved flag
 #
-# else if Severity, Status OR Priority fields have any change
+# else if Severity, Status, Target Milestone OR Priority fields have any change
 #       set the Status flag
 #
 # else if Keywords has changed
@@ -426,14 +426,14 @@ sub getEmailAttributes (\%\@$) {
         
         #print qq{field: $fieldName $new<br>};
         
-        # the STATUS will be flagged for Severity, Status and 
+        # the STATUS will be flagged for Severity, Status, Target Milestone and 
         # Priority changes
         #
         if ( $fieldName eq 'Status' && ($new eq 'RESOLVED' || $new eq 'VERIFIED')) {
             push (@flags, 'Resolved');
         }
         elsif ( $fieldName eq 'Severity' || $fieldName eq 'Status' ||
-                $fieldName eq 'Priority' ) {
+                $fieldName eq 'Priority' || $fieldName eq 'Target Milestone') {
             push (@flags, 'Status');
         } elsif ( $fieldName eq 'Keywords') {
             push (@flags, 'Keywords');