diff options
-rw-r--r-- | extensions/BugmailFilter/Extension.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extensions/BugmailFilter/Extension.pm b/extensions/BugmailFilter/Extension.pm index 4d4a1938f..002f27a39 100644 --- a/extensions/BugmailFilter/Extension.pm +++ b/extensions/BugmailFilter/Extension.pm @@ -245,10 +245,12 @@ sub user_wants_mail { # insert fake fields for new attachments and comments if (@$comments) { if (grep { $_->type == CMT_ATTACHMENT_CREATED } @$comments) { - push @$fields, { filter_field => 'attachment.created' }; + push @$fields, { field_name => 'attachment.created', + filter_field => 'attachment.created' }; } if (grep { $_->type != CMT_ATTACHMENT_CREATED } @$comments) { - push @$fields, { filter_field => 'comment.created' }; + push @$fields, { field_name => 'comment.created', + filter_field => 'comment.created' }; } } |