From f770095a34894673cfecf1caf520b8ab87038e81 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 21 Oct 2010 01:24:05 +0200 Subject: Bug 598014: Document how to mark the initial comment as private when using Bug.create() r/a=mkanat --- post_bug.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'post_bug.cgi') 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(); -- cgit v1.2.3-24-g4f1b