diff options
author | myk%mozilla.org <> | 2002-05-23 17:08:53 +0200 |
---|---|---|
committer | myk%mozilla.org <> | 2002-05-23 17:08:53 +0200 |
commit | f19b1b0a556468b4dc6e733bac8f22732af950e8 (patch) | |
tree | 9ad30e4a14e78950772dae3087e786e5d2e98ab6 | |
parent | 6538d5c83911376be1e72d89e6f21ba6a41f3c11 (diff) | |
download | bugzilla-f19b1b0a556468b4dc6e733bac8f22732af950e8.tar.gz bugzilla-f19b1b0a556468b4dc6e733bac8f22732af950e8.tar.xz |
Fix for bug 146261: fixes bug preventing the sending of email to users when the status of bugs changes in some situations.
Patch by Tim Taylor <ttaylor@mitre.org>.
r=myk,bbaetz
-rwxr-xr-x | processmail | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/processmail b/processmail index 3ddf28d94..a4c7bdc5e 100755 --- a/processmail +++ b/processmail @@ -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' ) { |