summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-08-04 02:30:31 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-08-04 02:30:31 +0200
commitd97f7db57294d07201678f38523defe15a00c3ef (patch)
tree6a660b0f7aefcd653f3bce75fb11f3eb391fa2e4 /Bugzilla
parentdd87b4998939b21a8a0bc5806cf8edd0da628edc (diff)
downloadbugzilla-d97f7db57294d07201678f38523defe15a00c3ef.tar.gz
bugzilla-d97f7db57294d07201678f38523defe15a00c3ef.tar.xz
Bug 584036: _sync_fulltext() not called when (un)setting an existing comment as private
r/a=mkanat
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Bug.pm3
1 files changed, 2 insertions, 1 deletions
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'};