From 93815fc7619567cc962e053280c5ed0b19492feb Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 15 Oct 2006 05:02:09 +0000 Subject: Bug 281181: [SECURITY] It's way too easy to delete versions/components/milestones etc... - Patch by Frédéric Buclin r=mkanat a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- enter_bug.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'enter_bug.cgi') diff --git a/enter_bug.cgi b/enter_bug.cgi index 62abdcd81..317bd6d0c 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -335,7 +335,7 @@ $vars->{'qa_contact_disabled'} = !Bugzilla->user->in_group('editbugs'); $vars->{'cloned_bug_id'} = $cloned_bug_id; -$vars->{'token'} = Bugzilla::Token::IssueSessionToken('createbug:'); +$vars->{'token'} = issue_session_token('createbug:'); my @enter_bug_fields = Bugzilla->get_fields({ custom => 1, obsolete => 0, -- cgit v1.2.3-24-g4f1b