summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xprocessmail2
1 files changed, 1 insertions, 1 deletions
diff --git a/processmail b/processmail
index 88c633140..c34b45b15 100755
--- a/processmail
+++ b/processmail
@@ -684,7 +684,7 @@ sub getEmailAttributes ($@) {
if ( $commentField =~ /Created an attachment \(/ ) {
push (@flags, 'Attachments');
}
- elsif ( ($commentField ne '') && (scalar(@flags) == 1) && ($flags[0] eq 'Resolved')) {
+ elsif ( ($commentField ne '') && !(scalar(@flags) == 1 && $flags[0] eq 'Resolved')) {
push (@flags, 'Comments');
}