diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-11-20 07:38:36 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-11-20 07:38:36 +0100 |
commit | 2cfc2817d82789162a99aaffe37200cb3b440853 (patch) | |
tree | d104c42668262b7e1b29b87ae547b9a37fc6e82a /Bugzilla/Bug.pm | |
parent | 9f7b24e9b70f736c700674e1929fe1344c6e4351 (diff) | |
download | bugzilla-2cfc2817d82789162a99aaffe37200cb3b440853.tar.gz bugzilla-2cfc2817d82789162a99aaffe37200cb3b440853.tar.xz |
Bug 812420: When creating a needinfo request and a comment at the same time, comment is added twice
Diffstat (limited to 'Bugzilla/Bug.pm')
-rw-r--r-- | Bugzilla/Bug.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index f8566be4a..6973ae2fc 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -781,6 +781,10 @@ sub update { my ($changes, $old_bug) = $self->SUPER::update(@_); + Bugzilla::Hook::process('bug_start_of_update', + { timestamp => $delta_ts, bug => $self, + old_bug => $old_bug, changes => $changes }); + # Certain items in $changes have to be fixed so that they hold # a name instead of an ID. foreach my $field (qw(product_id component_id)) { |