From bc5d4e6aae2c65dfeaf2a3637f103eeb947dc90c Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" Date: Thu, 23 May 2002 08:08:53 +0000 Subject: [PATCH] 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 . r=myk,bbaetz git-svn-id: svn://10.0.0.236/trunk@122063 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/processmail | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mozilla/webtools/bugzilla/processmail b/mozilla/webtools/bugzilla/processmail index 3ddf28d9498..a4c7bdc5e8a 100755 --- a/mozilla/webtools/bugzilla/processmail +++ b/mozilla/webtools/bugzilla/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' ) {