summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-23 20:16:08 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-23 20:16:08 +0000
commit564ad98bdc2a55d4cd12f734b37af7c66844204a (patch)
tree43e3735287e4345cfb447004f728b44bb6d92251 /LedgerSMB
parent37b948b026cb941b8f8ec4670243f30f854241bd (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-xLedgerSMB/Template/HTML.pm4
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->{$_} );