summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-16 08:08:34 +0200
committerlpsolit%gmail.com <>2006-08-16 08:08:34 +0200
commite98e1e1699abc0551f3ca783794aea49c5d0c908 (patch)
tree72846a2b024d2b46d3d84005afc776d22457b1c9
parent91c2f3d9f263ba02bcfa0fe07d8d2bfc71f38da3 (diff)
downloadbugzilla-e98e1e1699abc0551f3ca783794aea49c5d0c908.tar.gz
bugzilla-e98e1e1699abc0551f3ca783794aea49c5d0c908.tar.xz
Bug 148836: Can't get email, "When I'm added to or removed from the Bug Owner capacity" ONLY - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
-rw-r--r--Bugzilla/BugMail.pm2
-rw-r--r--Bugzilla/User.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index 4221a9dc4..07ebf226b 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -354,7 +354,7 @@ sub ProcessOneBug {
# The last relevant set of people are those who are being removed from
# their roles in this change. We get their names out of the diffs.
foreach my $ref (@$diffs) {
- my ($who, $what, $when, $old, $new) = (@$ref);
+ my ($who, $whoname, $what, $when, $old, $new) = (@$ref);
if ($old) {
# You can't stop being the reporter, and mail isn't sent if you
# remove your vote.
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index 01f2db4d9..12c680f78 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -1132,7 +1132,7 @@ sub wants_bug_mail {
# from the point of view of this user.
my %events;
foreach my $ref (@$fieldDiffs) {
- my ($who, $fieldName, $when, $old, $new) = @$ref;
+ my ($who, $whoname, $fieldName, $when, $old, $new) = @$ref;
# A change to any of the above fields sets the corresponding event
if (defined($names_to_events{$fieldName})) {
$events{$names_to_events{$fieldName}} = 1;