aboutsummaryrefslogtreecommitdiffstats
path: root/editsettings.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editsettings.cgi')
-rwxr-xr-xeditsettings.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/editsettings.cgi b/editsettings.cgi
index 883666074..231c1aea8 100755
--- a/editsettings.cgi
+++ b/editsettings.cgi
@@ -25,8 +25,8 @@ use Bugzilla::User::Setting;
require "globals.pl";
-# Use global template variables.
-use vars qw($template $vars);
+my $template = Bugzilla->template;
+my $vars = {};
###############################
### Subroutine Definitions ###