diff options
author | cyeh%bluemartini.com <> | 2001-03-29 07:43:39 +0000 |
---|---|---|
committer | cyeh%bluemartini.com <> | 2001-03-29 07:43:39 +0000 |
commit | 2bdc68f511287c4ef552ede9de2c6f56888b402a (patch) | |
tree | 13f00bfc9c6cdd0e1de60e84d2c26bbb7204c5ec /processmail | |
parent | 2c793d31ac9cdac1f6fda311d67d9b681baf2d90 (diff) | |
download | bugs-2bdc68f511287c4ef552ede9de2c6f56888b402a.tar bugs-2bdc68f511287c4ef552ede9de2c6f56888b402a.tar.gz bugs-2bdc68f511287c4ef552ede9de2c6f56888b402a.tar.bz2 bugs-2bdc68f511287c4ef552ede9de2c6f56888b402a.tar.xz bugs-2bdc68f511287c4ef552ede9de2c6f56888b402a.zip |
fix for 71798: bugmail not sent when moving from cc to assigned fields
checked in patch based on patch submitted by jake@acutex.net
Diffstat (limited to 'processmail')
-rwxr-xr-x | processmail | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/processmail b/processmail index a51a07667..88c633140 100755 --- a/processmail +++ b/processmail @@ -657,7 +657,6 @@ sub getEmailAttributes ($@) { my ($commentField,@fieldDiffs) = @_; my (@flags,@uniqueFlags,%alreadySeen) = (); - my $Status = 0; foreach my $ref (@fieldDiffs) { my ($who, $fieldName, $when, $old, $new) = (@$ref); @@ -671,7 +670,6 @@ sub getEmailAttributes ($@) { if ($new eq 'RESOLVED' || $new eq 'VERIFIED') { push (@flags, 'Resolved'); } - $Status = 1; } elsif ( $fieldName eq 'Severity' || $fieldName eq 'Status' || $fieldName eq 'Priority' ) { @@ -686,7 +684,7 @@ sub getEmailAttributes ($@) { if ( $commentField =~ /Created an attachment \(/ ) { push (@flags, 'Attachments'); } - elsif ( $commentField ne '' && !($Status)) { + elsif ( ($commentField ne '') && (scalar(@flags) == 1) && ($flags[0] eq 'Resolved')) { push (@flags, 'Comments'); } |