diff options
author | lpsolit%gmail.com <> | 2005-10-25 06:11:55 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-10-25 06:11:55 +0000 |
commit | 44de29d04d1ca7e3b047b2a847508dc949c29038 (patch) | |
tree | 934c0ccce39c238b3bf6a0337014e6f1fde9918b /post_bug.cgi | |
parent | Bug 313209: Oracle requires "CASE WHEN" around boolean expressions in the SEL... (diff) | |
download | bugzilla-44de29d04d1ca7e3b047b2a847508dc949c29038.tar.gz bugzilla-44de29d04d1ca7e3b047b2a847508dc949c29038.tar.bz2 bugzilla-44de29d04d1ca7e3b047b2a847508dc949c29038.zip |
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 'post_bug.cgi')
-rwxr-xr-x | post_bug.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/post_bug.cgi b/post_bug.cgi index 0965728b7..c1af2a5d0 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -48,12 +48,12 @@ sub sillyness { $zz = %::target_milestone; } -# Use global template variables. -use vars qw($vars $template); - my $user = Bugzilla->login(LOGIN_REQUIRED); + my $cgi = Bugzilla->cgi; my $dbh = Bugzilla->dbh; +my $template = Bugzilla->template; +my $vars = {}; # do a match on the fields if applicable |