summaryrefslogtreecommitdiffstats
path: root/describecomponents.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-10-25 08:11:55 +0200
committerlpsolit%gmail.com <>2005-10-25 08:11:55 +0200
commit44de29d04d1ca7e3b047b2a847508dc949c29038 (patch)
tree934c0ccce39c238b3bf6a0337014e6f1fde9918b /describecomponents.cgi
parent46aba0e761e99db24b5de10f13bbc108fdc982a4 (diff)
downloadbugzilla-44de29d04d1ca7e3b047b2a847508dc949c29038.tar.gz
bugzilla-44de29d04d1ca7e3b047b2a847508dc949c29038.tar.xz
Bug 312157: Remove $::template and $::vars from globals.pl - Patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=LpSolit a=justdave
Diffstat (limited to 'describecomponents.cgi')
-rwxr-xr-xdescribecomponents.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/describecomponents.cgi b/describecomponents.cgi
index 8fec1ec26..4ce103905 100755
--- a/describecomponents.cgi
+++ b/describecomponents.cgi
@@ -28,7 +28,7 @@ use Bugzilla;
use Bugzilla::Constants;
require "globals.pl";
-use vars qw($vars @legal_product);
+use vars qw(@legal_product);
my $user = Bugzilla->login();
@@ -36,6 +36,7 @@ GetVersionTable();
my $cgi = Bugzilla->cgi;
my $template = Bugzilla->template;
+my $vars = {};
my $product = trim($cgi->param('product') || '');
my $product_id = get_product_id($product);