Commit ad6fd6d8 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 583165: Un(setting) a comment as private doesn't update bugs.delta_ts

r/a=mkanat
parent 5b0be259
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment