aboutsummaryrefslogtreecommitdiffstats
path: root/editclassifications.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-07-06 13:12:04 +0000
committermkanat%bugzilla.org <>2006-07-06 13:12:04 +0000
commitf162521444148d622df3b42a8304b6cce8f2150e (patch)
tree78cf6a0bfad99a4f053c998b98efe36929475005 /editclassifications.cgi
parent5e55e7bc89682617a14d5fbc3b6098c12ce1aece (diff)
downloadbugs-f162521444148d622df3b42a8304b6cce8f2150e.tar
bugs-f162521444148d622df3b42a8304b6cce8f2150e.tar.gz
bugs-f162521444148d622df3b42a8304b6cce8f2150e.tar.bz2
bugs-f162521444148d622df3b42a8304b6cce8f2150e.tar.xz
bugs-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 'editclassifications.cgi')
-rwxr-xr-xeditclassifications.cgi6
1 files changed, 4 insertions, 2 deletions
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;