From: myk%mozilla.org <> Date: Thu, 23 May 2002 15:08:53 +0000 (+0000) Subject: Fix for bug 146261: fixes bug preventing the sending of email to users when the statu... X-Git-Tag: bugzilla-2.17.1~351 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f19b1b0a556468b4dc6e733bac8f22732af950e8;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/processmail b/processmail index 3ddf28d949..a4c7bdc5e8 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' ) {