aboutsummaryrefslogtreecommitdiffstats
path: root/userprefs.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi5
1 files changed, 4 insertions, 1 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index 07bc048cc..796f2e0f9 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -35,7 +35,10 @@ use Bugzilla::User;
require "globals.pl";
# Use global template variables.
-use vars qw($template $vars $userid);
+use vars qw($userid);
+
+my $template = Bugzilla->template;
+my $vars = {};
###############################################################################
# Each panel has two functions - panel Foo has a DoFoo, to get the data