From 1254fcb8c43defcbce99713f5cd85a104670895e Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 31 Oct 2005 05:31:27 +0000 Subject: Bug 304075: Eliminate use of $::userid from Bugzilla - Patch by Frédéric Buclin r=wicked a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- enter_bug.cgi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'enter_bug.cgi') diff --git a/enter_bug.cgi b/enter_bug.cgi index 230d39bf8..1692289ff 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -50,7 +50,6 @@ use vars qw( @legal_priority @legal_severity @legal_keywords - $userid %versions %target_milestone $proddesc @@ -323,7 +322,7 @@ $cloned_bug_id = $cgi->param('cloned_bug_id'); if ($cloned_bug_id) { ValidateBugID($cloned_bug_id); - $cloned_bug = new Bugzilla::Bug($cloned_bug_id, $userid); + $cloned_bug = new Bugzilla::Bug($cloned_bug_id, Bugzilla->user->id); } # We need to check and make sure -- cgit v1.2.3-24-g4f1b