aboutsummaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-10-31 05:31:27 +0000
committerlpsolit%gmail.com <>2005-10-31 05:31:27 +0000
commit1254fcb8c43defcbce99713f5cd85a104670895e (patch)
tree3b842a5b96f429d0db2d5ade3ba409cf1fae7e5a /enter_bug.cgi
parentcf3aa532ea51a41b02c8ea73db254d01c03280ba (diff)
downloadbugs-1254fcb8c43defcbce99713f5cd85a104670895e.tar
bugs-1254fcb8c43defcbce99713f5cd85a104670895e.tar.gz
bugs-1254fcb8c43defcbce99713f5cd85a104670895e.tar.bz2
bugs-1254fcb8c43defcbce99713f5cd85a104670895e.tar.xz
bugs-1254fcb8c43defcbce99713f5cd85a104670895e.zip
Bug 304075: Eliminate use of $::userid from Bugzilla - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=justdave
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi3
1 files changed, 1 insertions, 2 deletions
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