diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-07-28 19:02:32 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-07-28 19:02:32 +0200 |
commit | b29f60f64c965ce58ae823a7a2314cf892a25008 (patch) | |
tree | d7f1f35fea155b1d5748ee1118422b0f0602152c /Bugzilla/User.pm | |
parent | 457f46daca7eb55a8f517367f387d1c3f0c414ac (diff) | |
download | bugzilla-b29f60f64c965ce58ae823a7a2314cf892a25008.tar.gz bugzilla-b29f60f64c965ce58ae823a7a2314cf892a25008.tar.xz |
Bug 396558: Dependency change e-mails should only include status changes that happened right now
r/a=mkanat
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r-- | Bugzilla/User.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 09af233ec..2bbe63101 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -1513,7 +1513,7 @@ our %names_to_events = ( # Note: the "+" signs before the constants suppress bareword quoting. sub wants_bug_mail { my $self = shift; - my ($bug_id, $relationship, $fieldDiffs, $comments, $dependencyText, + my ($bug_id, $relationship, $fieldDiffs, $comments, $dep_mail, $changer, $bug_is_new) = @_; # Make a list of the events which have happened during this bug change, @@ -1572,7 +1572,7 @@ sub wants_bug_mail { # Dependent changed bugmails must have an event to ensure the bugmail is # emailed. - if ($dependencyText ne '') { + if ($dep_mail) { $events{+EVT_DEPEND_BLOCK} = 1; } |