summaryrefslogtreecommitdiffstats
path: root/post_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 /post_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 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index 2c8062605..734b5978d 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -129,7 +129,7 @@ push(@bug_fields, qw(
alias
blocked
- commentprivacy
+ comment_is_private
bug_file_loc
bug_severity
bug_status
@@ -184,7 +184,7 @@ if (defined $cgi->param('version')) {
# Add an attachment if requested.
if (defined($cgi->upload('data')) || $cgi->param('attach_text')) {
- $cgi->param('isprivate', $cgi->param('commentprivacy'));
+ $cgi->param('isprivate', $cgi->param('comment_is_private'));
# Must be called before create() as it may alter $cgi->param('ispatch').
my $content_type = Bugzilla::Attachment::get_content_type();