]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 148836: Can't get email, "When I'm added to or removed from the Bug Owner capacit...
authorlpsolit%gmail.com <>
Wed, 16 Aug 2006 06:08:34 +0000 (06:08 +0000)
committerlpsolit%gmail.com <>
Wed, 16 Aug 2006 06:08:34 +0000 (06:08 +0000)
Bugzilla/BugMail.pm
Bugzilla/User.pm

index 4221a9dc4935e6e7949da7b6b9b6694835c6b9a9..07ebf226b3c8732e5967173dd48c6d3031433883 100644 (file)
@@ -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.
index 01f2db4d929cc5d5c0b49acbe9775a0215ba4c67..12c680f7818646a28a84f774c564ae1aee693f46 100644 (file)
@@ -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;