]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 584036: _sync_fulltext() not called when (un)setting an existing comment as private
authorFrédéric Buclin <LpSolit@gmail.com>
Wed, 4 Aug 2010 00:32:51 +0000 (02:32 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 4 Aug 2010 00:32:51 +0000 (02:32 +0200)
r/a=mkanat

Bugzilla/Bug.pm

index 81acdcd5a431cbfa62d21814e18b4138568f1938..9596160084bbe4d105b1ea8beb92019665d0330e 100644 (file)
@@ -883,7 +883,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'};