summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
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();