From: Frédéric Buclin Date: Wed, 4 Aug 2010 00:31:44 +0000 (+0200) Subject: Bug 584036: _sync_fulltext() not called when (un)setting an existing comment as private X-Git-Tag: bugzilla-3.7.3~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d53170eb11ac67d42486b7d2e62568515172af4;p=thirdparty%2Fbugzilla.git Bug 584036: _sync_fulltext() not called when (un)setting an existing comment as private r/a=mkanat --- diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index d68d4e7096..1a93595440 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'};