From f162521444148d622df3b42a8304b6cce8f2150e Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Thu, 6 Jul 2006 13:12:04 +0000 Subject: Bug 173629: Clean up "my" variable scoping issues for mod_perl Patch By Max Kanat-Alexander r=LpSolit, a=myk --- editclassifications.cgi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'editclassifications.cgi') diff --git a/editclassifications.cgi b/editclassifications.cgi index 70aa256fb..706d68918 100755 --- a/editclassifications.cgi +++ b/editclassifications.cgi @@ -29,13 +29,15 @@ use Bugzilla::Util; use Bugzilla::Error; use Bugzilla::Classification; -my $cgi = Bugzilla->cgi; my $dbh = Bugzilla->dbh; +my $cgi = Bugzilla->cgi; my $template = Bugzilla->template; -my $vars = {}; +local our $vars = {}; sub LoadTemplate { my $action = shift; + my $cgi = Bugzilla->cgi; + my $template = Bugzilla->template; $action =~ /(\w+)/; $action = $1; -- cgit v1.2.3-24-g4f1b