summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-10 21:01:06 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-10 21:01:06 +0000
commita5577e8f380ef6301e1a976780c7636da32e0a9f (patch)
tree4895719e5f1210adb613e6ef2c8942ee9a0804b4
parent3718e3f5fb54c4ad54ed313d59ff82c9941fed26 (diff)
Fixing escaping issue exposed by the CSV module
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1554 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB/Template/HTML.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Template/HTML.pm b/LedgerSMB/Template/HTML.pm
index 0ca82bcc..2f8ac427 100755
--- a/LedgerSMB/Template/HTML.pm
+++ b/LedgerSMB/Template/HTML.pm
@@ -63,7 +63,7 @@ sub preprocess {
}
elsif ( $type eq 'HASH' ) {
for ( keys %{$rawvars} ) {
- $vars->{$_} = preprocess( $rawvars->{$_} );
+ $vars->{preprocess($_)} = preprocess( $rawvars->{$_} );
}
}
else {