diff options
author | lpsolit%gmail.com <> | 2005-10-25 08:11:55 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-10-25 08:11:55 +0200 |
commit | 44de29d04d1ca7e3b047b2a847508dc949c29038 (patch) | |
tree | 934c0ccce39c238b3bf6a0337014e6f1fde9918b /config.cgi | |
parent | 46aba0e761e99db24b5de10f13bbc108fdc982a4 (diff) | |
download | bugzilla-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 'config.cgi')
-rwxr-xr-x | config.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.cgi b/config.cgi index 860115c81..bea4f6faa 100755 --- a/config.cgi +++ b/config.cgi @@ -51,7 +51,6 @@ use vars # Use the global template variables defined in globals.pl # to generate the output. -use vars qw($vars); my $user = Bugzilla->login(LOGIN_OPTIONAL); @@ -65,6 +64,7 @@ if (Param('requirelogin') && !$user->id) { GetVersionTable(); # Pass a bunch of Bugzilla configuration to the templates. +my $vars = {}; $vars->{'priority'} = \@::legal_priority; $vars->{'severity'} = \@::legal_severity; $vars->{'platform'} = \@::legal_platform; |