summaryrefslogtreecommitdiffstats
path: root/votes.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'votes.cgi')
-rwxr-xr-xvotes.cgi5
1 files changed, 2 insertions, 3 deletions
diff --git a/votes.cgi b/votes.cgi
index 61a57e06f..f30eebe3c 100755
--- a/votes.cgi
+++ b/votes.cgi
@@ -32,10 +32,9 @@ use Bugzilla::Bug;
require "globals.pl";
-# Use global template variables
-use vars qw($template $vars);
-
my $cgi = Bugzilla->cgi;
+my $template = Bugzilla->template;
+my $vars = {};
# If the action is show_bug, you need a bug_id.
# If the action is show_user, you can supply a userid to show the votes for