From 0f06e232470fe9ba5400f72b725d7e685468e1b0 Mon Sep 17 00:00:00 2001 From: Sebastin Santy Date: Wed, 16 Aug 2017 09:31:44 +0530 Subject: Bug 1390112 - Option for filing security bugs --- new_bug.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'new_bug.cgi') diff --git a/new_bug.cgi b/new_bug.cgi index 6a62d0dcb..6a49e0b68 100644 --- a/new_bug.cgi +++ b/new_bug.cgi @@ -57,12 +57,13 @@ if (lc($cgi->request_method) eq 'post') { my $token = $cgi->param('token'); check_hash_token($token, ['new_bug']); my @keywords = $cgi->param('keywords'); + my @groups = $cgi->param('groups'); my $new_bug = Bugzilla::Bug->create({ short_desc => scalar($cgi->param('short_desc')), product => scalar($cgi->param('product')), component => scalar($cgi->param('component')), bug_severity => 'normal', - groups => [], + groups => \@groups, op_sys => 'Unspecified', rep_platform => 'Unspecified', version => scalar( $cgi->param('version')), -- cgit v1.2.3-24-g4f1b