summaryrefslogtreecommitdiffstats
path: root/editclassifications.cgi
diff options
context:
space:
mode:
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;