From 341c0fc1c9e8f8c14655c9477fd119f1e0ccddc6 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Thu, 16 Feb 2012 18:37:42 -0500 Subject: Bug 721161 - Add to X-Bugzilla-Changed-Fields when a new attachment is created on a bug Changed from "Attachment Created" to "attachments.created" to match upstream --- Bugzilla/BugMail.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bugzilla/BugMail.pm') diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index efbba5215..62f04e5da 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -363,10 +363,10 @@ sub sendMail { my @changedfields = uniq map { $_->{field_name} } @display_diffs; - # Add Attachment Created to changedfields if one or more + # Add attachments.created to changedfields if one or more # comments contain information about a new attachment if (grep($_->type == CMT_ATTACHMENT_CREATED, @send_comments)) { - push(@changedfields, 'Attachment Created'); + push(@changedfields, 'attachments.created'); } my $vars = { -- cgit v1.2.3-24-g4f1b