diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-08-03 01:09:03 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-08-03 01:09:03 +0200 |
commit | ad6fd6d8ea77221f417b9d67daa0b8a98aa5f66c (patch) | |
tree | f70bb3ceaf90fc8cf6ee84325576607069faad4a /Bugzilla | |
parent | 5b0be2596d828e3766e320d0e410613faaa33e8f (diff) | |
download | bugzilla-ad6fd6d8ea77221f417b9d67daa0b8a98aa5f66c.tar.gz bugzilla-ad6fd6d8ea77221f417b9d67daa0b8a98aa5f66c.tar.xz |
Bug 583165: Un(setting) a comment as private doesn't update bugs.delta_ts
r/a=mkanat
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Bug.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index b9fffe779..16ed32449 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -983,7 +983,9 @@ sub update { old_bug => $old_bug }); # If any change occurred, refresh the timestamp of the bug. - if (scalar(keys %$changes) || $self->{added_comments}) { + if (scalar(keys %$changes) || $self->{added_comments} + || $self->{comment_isprivate}) + { $dbh->do('UPDATE bugs SET delta_ts = ? WHERE bug_id = ?', undef, ($delta_ts, $self->id)); $self->{delta_ts} = $delta_ts; |