]> 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:31:44 +0000 (02:31 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 4 Aug 2010 00:31:44 +0000 (02:31 +0200)
r/a=mkanat

Bugzilla/Bug.pm

index d68d4e7096f0689de59bc821dd2c63ace740fa17..1a9359544084c62c9e9d045b21a626a564ffade1 100644 (file)
@@ -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'};