diff options
author | lpsolit%gmail.com <> | 2006-06-05 19:58:37 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-06-05 19:58:37 +0200 |
commit | f1374b272a5a61ed0847acb806ca5750aae5789d (patch) | |
tree | 54d2e3714e787414f1de29aae25377070d959ecf /enter_bug.cgi | |
parent | 71d87fd8ebcf45363078a1e5f765ed99e47314e1 (diff) | |
download | bugzilla-f1374b272a5a61ed0847acb806ca5750aae5789d.tar.gz bugzilla-f1374b272a5a61ed0847acb806ca5750aae5789d.tar.xz |
Bug 42946: Bugs filed at same time causing one to be duplicated - Patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=LpSolit a=justdave
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'}; |