summaryrefslogtreecommitdiffstats
path: root/editcomponents.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editcomponents.cgi')
-rwxr-xr-xeditcomponents.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/editcomponents.cgi b/editcomponents.cgi
index 5b5333e31..5b0088bd6 100755
--- a/editcomponents.cgi
+++ b/editcomponents.cgi
@@ -39,10 +39,10 @@ use Bugzilla::Product;
use Bugzilla::Component;
use Bugzilla::Bug;
-use vars qw($template $vars);
-
my $cgi = Bugzilla->cgi;
my $dbh = Bugzilla->dbh;
+my $template = Bugzilla->template;
+my $vars = {};
#
# Preliminary checks: