[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1554] trunk/LedgerSMB/Template/HTML.pm



Revision: 1554
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1554&view=rev
Author:   tetragon
Date:     2007-09-10 14:01:06 -0700 (Mon, 10 Sep 2007)

Log Message:
-----------
Fixing escaping issue exposed by the CSV module

Modified Paths:
--------------
    trunk/LedgerSMB/Template/HTML.pm

Modified: trunk/LedgerSMB/Template/HTML.pm
===================================================================
--- trunk/LedgerSMB/Template/HTML.pm	2007-09-10 17:13:24 UTC (rev 1553)
+++ trunk/LedgerSMB/Template/HTML.pm	2007-09-10 21:01:06 UTC (rev 1554)
@@ -63,7 +63,7 @@
     }
     elsif ( $type eq 'HASH' ) {
         for ( keys %{$rawvars} ) {
-            $vars->{$_} = preprocess( $rawvars->{$_} );
+            $vars->{preprocess($_)} = preprocess( $rawvars->{$_} );
         }
     }
     else {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.