diff options
author | David Lawrence <dkl@mozilla.com> | 2014-11-04 04:33:36 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-11-04 04:33:36 +0100 |
commit | 44401a7a368c2587aa091a883602a6fb23023f0c (patch) | |
tree | 599831c31b90d0a4d58c385e329dd63af40489f7 | |
parent | 4e1941fedbe46bafce9aded3a0a38d272fec37a2 (diff) | |
download | bugzilla-44401a7a368c2587aa091a883602a6fb23023f0c.tar.gz bugzilla-44401a7a368c2587aa091a883602a6fb23023f0c.tar.xz |
Bug 1091149: Use of uninitialized value in string ne warnings from BugmailFilter extensiom
-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' }; } } |