diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-23 20:16:08 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-23 20:16:08 +0000 |
commit | 564ad98bdc2a55d4cd12f734b37af7c66844204a (patch) | |
tree | 43e3735287e4345cfb447004f728b44bb6d92251 /LedgerSMB | |
parent | 37b948b026cb941b8f8ec4670243f30f854241bd (diff) |
CGI.pm -> CGI::Simple switch
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1654 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-x | LedgerSMB/Template/HTML.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LedgerSMB/Template/HTML.pm b/LedgerSMB/Template/HTML.pm index cb9bd2fe..340b6c94 100755 --- a/LedgerSMB/Template/HTML.pm +++ b/LedgerSMB/Template/HTML.pm @@ -40,7 +40,7 @@ holders, see the CONTRIBUTORS file. package LedgerSMB::Template::HTML; use Error qw(:try); -use CGI; +use CGI::Simple::Standard qw(:html); use Template; use LedgerSMB::Template::TTI18N; @@ -61,7 +61,7 @@ sub preprocess { push @{$vars}, preprocess( $_ ); } } elsif (!$type) { - return CGI::escapeHTML($rawvars); + return escapeHTML($rawvars); } else { # Hashes and objects for ( keys %{$rawvars} ) { $vars->{preprocess($_)} = preprocess( $rawvars->{$_} ); |