From d97f7db57294d07201678f38523defe15a00c3ef Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 4 Aug 2010 02:30:31 +0200 Subject: Bug 584036: _sync_fulltext() not called when (un)setting an existing comment as private r/a=mkanat --- Bugzilla/Bug.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Bugzilla/Bug.pm') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 16ed32449..915ce5307 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -998,7 +998,8 @@ sub update { # back, this change will *not* be rolled back. As we expect rollbacks # to be extremely rare, that is OK for us. $self->_sync_fulltext() - if $self->{added_comments} || $changes->{short_desc}; + if $self->{added_comments} || $changes->{short_desc} + || $self->{comment_isprivate}; # Remove obsolete internal variables. delete $self->{'_old_assigned_to'}; -- cgit v1.2.3-24-g4f1b