summaryrefslogtreecommitdiff
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 /editcomponents.cgi
parentBug 314088: Several Bugzilla::Foo->new crash when passing a string instead of... (diff)
downloadbugzilla-1254fcb8c43defcbce99713f5cd85a104670895e.tar.gz
bugzilla-1254fcb8c43defcbce99713f5cd85a104670895e.tar.bz2
bugzilla-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 'editcomponents.cgi')
-rwxr-xr-xeditcomponents.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/editcomponents.cgi b/editcomponents.cgi
index 5b0088bd6..60074cb40 100755
--- a/editcomponents.cgi
+++ b/editcomponents.cgi
@@ -204,7 +204,7 @@ if ($action eq 'new') {
foreach my $sdata (@series) {
my $series = new Bugzilla::Series(undef, $product->name,
$comp_name, $sdata->[0],
- $::userid, 1, $sdata->[1], 1);
+ $whoid, 1, $sdata->[1], 1);
$series->writeToDatabase();
}