]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 146261: fixes bug preventing the sending of email to users when the statu...
authormyk%mozilla.org <>
Thu, 23 May 2002 15:08:53 +0000 (15:08 +0000)
committermyk%mozilla.org <>
Thu, 23 May 2002 15:08:53 +0000 (15:08 +0000)
Patch by Tim Taylor <ttaylor@mitre.org>.
r=myk,bbaetz

processmail

index 3ddf28d94983353e767169dd0af0816568f66f72..a4c7bdc5e8aa40cfe36b69f8077ee7b9f339a20d 100755 (executable)
@@ -414,10 +414,8 @@ sub getEmailAttributes ($@) {
         # the STATUS will be flagged for Severity, Status and 
         # Priority changes
         #
-        if ( $fieldName eq 'Status') {
-            if ($new eq 'RESOLVED' || $new eq 'VERIFIED') {
-                push (@flags, 'Resolved');
-            }
+        if ( $fieldName eq 'Status' && ($new eq 'RESOLVED' || $new eq 'VERIFIED')) {
+            push (@flags, 'Resolved');
         }
         elsif ( $fieldName eq 'Severity' || $fieldName eq 'Status' ||
                 $fieldName eq 'Priority' ) {