summaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-10-21 01:24:05 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-10-21 01:24:05 +0200
commitf770095a34894673cfecf1caf520b8ab87038e81 (patch)
treeca73e907712a15d017dded8c5a775a7c9c919472 /enter_bug.cgi
parentc971c66989e39fddbebfdf671d4f55502620a61f (diff)
downloadbugzilla-f770095a34894673cfecf1caf520b8ab87038e81.tar.gz
bugzilla-f770095a34894673cfecf1caf520b8ab87038e81.tar.xz
Bug 598014: Document how to mark the initial comment as private when using Bug.create()
r/a=mkanat
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi10
1 files changed, 5 insertions, 5 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index af37caf89..2b54800cc 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -452,14 +452,14 @@ if ($cloned_bug_id) {
my $bug_desc = $cloned_bug->comments({ order => 'oldest_to_newest' })->[0];
my $isprivate = $bug_desc->is_private;
- $vars->{'comment'} = "";
- $vars->{'commentprivacy'} = 0;
+ $vars->{'comment'} = "";
+ $vars->{'comment_is_private'} = 0;
if (!$isprivate || Bugzilla->user->is_insider) {
# We use "body" to avoid any format_comment text, which would be
# pointless to clone.
- $vars->{'comment'} = $bug_desc->body;
- $vars->{'commentprivacy'} = $isprivate;
+ $vars->{'comment'} = $bug_desc->body;
+ $vars->{'comment_is_private'} = $isprivate;
}
} # end of cloned bug entry form
@@ -484,7 +484,7 @@ else {
$vars->{'cc'} = join(', ', $cgi->param('cc'));
$vars->{'comment'} = formvalue('comment');
- $vars->{'commentprivacy'} = formvalue('commentprivacy');
+ $vars->{'comment_is_private'} = formvalue('comment_is_private');
} # end of normal/bookmarked entry form