summaryrefslogtreecommitdiffstats
path: root/extensions/TagNewUsers
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-02-17 00:37:42 +0100
committerDave Lawrence <dlawrence@mozilla.com>2012-02-17 00:37:42 +0100
commit341c0fc1c9e8f8c14655c9477fd119f1e0ccddc6 (patch)
tree2925746e85d4f5351611d020decb5a3855320b18 /extensions/TagNewUsers
parent7118a8392a67ea5e28034ed77ee0b80e34f42d49 (diff)
downloadbugzilla-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 'extensions/TagNewUsers')
-rw-r--r--extensions/TagNewUsers/Extension.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/TagNewUsers/Extension.pm b/extensions/TagNewUsers/Extension.pm
index 4b78c7bc0..ab71eeda8 100644
--- a/extensions/TagNewUsers/Extension.pm
+++ b/extensions/TagNewUsers/Extension.pm
@@ -234,7 +234,7 @@ sub mailer_before_send {
if ($bug_id
&& $changer_login
- && $changed_fields =~ /Attachment Created/)
+ && $changed_fields =~ /attachments.created/)
{
my $changer = Bugzilla::User->new({ name => $changer_login });
if ($changer