From 44401a7a368c2587aa091a883602a6fb23023f0c Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 4 Nov 2014 11:33:36 +0800 Subject: Bug 1091149: Use of uninitialized value in string ne warnings from BugmailFilter extensiom --- extensions/BugmailFilter/Extension.pm | 6 ++++-- 1 file 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' }; } } -- cgit v1.2.3-24-g4f1b