diff options
author | mkanat%bugzilla.org <> | 2006-07-06 13:12:04 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-07-06 13:12:04 +0000 |
commit | f162521444148d622df3b42a8304b6cce8f2150e (patch) | |
tree | 78cf6a0bfad99a4f053c998b98efe36929475005 /request.cgi | |
parent | Bug 343702: editflagtypes.cgi: Argument "" isn't numeric in numeric gt (>) at... (diff) | |
download | bugzilla-f162521444148d622df3b42a8304b6cce8f2150e.tar.gz bugzilla-f162521444148d622df3b42a8304b6cce8f2150e.tar.bz2 bugzilla-f162521444148d622df3b42a8304b6cce8f2150e.zip |
Bug 173629: Clean up "my" variable scoping issues for mod_perl
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'request.cgi')
-rwxr-xr-x | request.cgi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/request.cgi b/request.cgi index 3057eebd6..aee9c0387 100755 --- a/request.cgi +++ b/request.cgi @@ -41,11 +41,9 @@ use Bugzilla::Component; # Make sure the user is logged in. my $user = Bugzilla->login(); -my $userid = $user->id; my $cgi = Bugzilla->cgi; -my $template = Bugzilla->template; -my $vars = {}; +local our $vars = {}; ################################################################################ @@ -74,6 +72,9 @@ exit; sub queue { my $cgi = Bugzilla->cgi; my $dbh = Bugzilla->dbh; + my $template = Bugzilla->template; + my $user = Bugzilla->user; + my $userid = $user->id; my $status = validateStatus($cgi->param('status')); my $form_group = validateGroup($cgi->param('group')); |