diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-02-17 00:37:42 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-02-17 00:37:42 +0100 |
commit | 341c0fc1c9e8f8c14655c9477fd119f1e0ccddc6 (patch) | |
tree | 2925746e85d4f5351611d020decb5a3855320b18 /Bugzilla/BugMail.pm | |
parent | 7118a8392a67ea5e28034ed77ee0b80e34f42d49 (diff) | |
download | bugzilla-341c0fc1c9e8f8c14655c9477fd119f1e0ccddc6.tar.gz bugzilla-341c0fc1c9e8f8c14655c9477fd119f1e0ccddc6.tar.xz |
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
Diffstat (limited to 'Bugzilla/BugMail.pm')
-rw-r--r-- | Bugzilla/BugMail.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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 = { |