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

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



Revision: 5500
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5500&view=rev
Author:   einhverfr
Date:     2013-01-06 07:23:40 +0000 (Sun, 06 Jan 2013)
Log Message:
-----------
Undoing the accidental commit from the right place this time

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

Modified: trunk/LedgerSMB/Template.pm
===================================================================
--- trunk/LedgerSMB/Template.pm	2013-01-06 07:22:35 UTC (rev 5499)
+++ trunk/LedgerSMB/Template.pm	2013-01-06 07:23:40 UTC (rev 5500)
@@ -283,7 +283,6 @@
 sub render {
 	my $self = shift;
 	my $vars = shift;
-        my $do_not_escape = shift; # arrayref
         $vars->{LIST_FORMATS} = sub { return $self->available_formats} ;
         $vars->{ENVARS} = \%ENV;
         $vars->{USER} = $LedgerSMB::App_State::User;
@@ -324,7 +323,7 @@
 		carp 'no_escape mode enabled in rendering';
 		$cleanvars = $vars;
 	} else {
-		$cleanvars = $format->can('preprocess')->($vars, $do_not_escape);
+		$cleanvars = $format->can('preprocess')->($vars);
 	}
         $cleanvars->{escape} = sub { return $format->escape(@_)};
 	if (UNIVERSAL::isa($self->{locale}, 'LedgerSMB::Locale')){

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