From f1374b272a5a61ed0847acb806ca5750aae5789d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 5 Jun 2006 17:58:37 +0000 Subject: Bug 42946: Bugs filed at same time causing one to be duplicated - Patch by Olav Vitters r=LpSolit a=justdave --- enter_bug.cgi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'enter_bug.cgi') 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'}; -- cgit v1.2.3-24-g4f1b