diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-10-21 01:24:05 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-10-21 01:24:05 +0200 |
commit | f770095a34894673cfecf1caf520b8ab87038e81 (patch) | |
tree | ca73e907712a15d017dded8c5a775a7c9c919472 /post_bug.cgi | |
parent | c971c66989e39fddbebfdf671d4f55502620a61f (diff) | |
download | bugzilla-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-x | post_bug.cgi | 4 |
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(); |