summaryrefslogtreecommitdiffstats
path: root/describekeywords.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'describekeywords.cgi')
-rwxr-xr-xdescribekeywords.cgi5
1 files changed, 2 insertions, 3 deletions
diff --git a/describekeywords.cgi b/describekeywords.cgi
index ab88c2f15..19140199f 100755
--- a/describekeywords.cgi
+++ b/describekeywords.cgi
@@ -29,13 +29,12 @@ use Bugzilla::User;
require "globals.pl";
-# Use the global template variables.
-use vars qw($vars $template);
-
Bugzilla->login();
my $cgi = Bugzilla->cgi;
my $dbh = Bugzilla->dbh;
+my $template = Bugzilla->template;
+my $vars = {};
SendSQL("SELECT keyworddefs.name, keyworddefs.description,
COUNT(keywords.bug_id)