diff options
author | Reed Loden <reed@reedloden.com> | 2010-05-07 05:44:58 +0200 |
---|---|---|
committer | Reed Loden <reed@reedloden.com> | 2010-05-07 05:44:58 +0200 |
commit | b4c91adafa45e4e1146ca1dabab27404dac6bab6 (patch) | |
tree | fa98b726cf2726aef6638289db59d8c3df86eda4 /Bugzilla/User.pm | |
parent | 2ca283e7bfc85d86ffd5f312bbab89eedcf9929b (diff) | |
download | bugzilla-b4c91adafa45e4e1146ca1dabab27404dac6bab6.tar.gz bugzilla-b4c91adafa45e4e1146ca1dabab27404dac6bab6.tar.xz |
Bug 395451 - "Bugzilla::BugMail needs to use Bug objects internally instead of direct SQL"
[r=mkanat a=mkanat]
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r-- | Bugzilla/User.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 351dddfae..d02dc947b 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -1427,7 +1427,7 @@ sub wants_bug_mail { # # We do them separately because if _any_ of them are set, we don't want # the mail. - if ($wants_mail && $changer && ($self->login eq $changer)) { + if ($wants_mail && $changer && ($self->id == $changer->id)) { $wants_mail &= $self->wants_mail([EVT_CHANGED_BY_ME], $relationship); } |