summaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-06-05 19:58:37 +0200
committerlpsolit%gmail.com <>2006-06-05 19:58:37 +0200
commitf1374b272a5a61ed0847acb806ca5750aae5789d (patch)
tree54d2e3714e787414f1de29aae25377070d959ecf /enter_bug.cgi
parent71d87fd8ebcf45363078a1e5f765ed99e47314e1 (diff)
downloadbugzilla-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-xenter_bug.cgi3
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'};