diff options
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-x | enter_bug.cgi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi index 4b39cb750..e4adb8fb7 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -45,6 +45,7 @@ use Bugzilla::Hook; use Bugzilla::Product; use Bugzilla::Classification; use Bugzilla::Keyword; +use Bugzilla::Token; require "globals.pl"; use vars qw( @@ -358,6 +359,8 @@ $vars->{'qa_contact_disabled'} = !UserInGroup('editbugs'); $vars->{'cloned_bug_id'} = $cloned_bug_id; +$vars->{'token'} = Bugzilla::Token::IssueSessionToken('createbug:'); + if ($cloned_bug_id) { $default{'component_'} = $cloned_bug->{'component'}; |