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 /page.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 'page.cgi')
-rwxr-xr-x | page.cgi | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -36,11 +36,10 @@ use Bugzilla; require "globals.pl"; -use vars qw($template $vars); - Bugzilla->login(); my $cgi = Bugzilla->cgi; +my $template = Bugzilla->template; my $id = $cgi->param('id'); if ($id) { @@ -58,7 +57,7 @@ if ($id) { print $cgi->header($format->{'ctype'}); - $template->process("$format->{'template'}", $vars) + $template->process("$format->{'template'}") || ThrowTemplateError($template->error()); } else { |