From 2e7f04b73c73bc5726c0835b881a2b155c5c2ede Mon Sep 17 00:00:00 2001 From: tetragon Date: Sun, 20 May 2007 01:25:38 +0000 Subject: More Template tests git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1222 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Template.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LedgerSMB/Template.pm') diff --git a/LedgerSMB/Template.pm b/LedgerSMB/Template.pm index f302f3fc..77c7a78a 100755 --- a/LedgerSMB/Template.pm +++ b/LedgerSMB/Template.pm @@ -106,7 +106,7 @@ sub render { my $cleanvars = $format->can('preprocess')->($vars); if (UNIVERSAL::isa($self->{locale}, 'LedgerSMB::Locale')){ - $cleanvars->{text} = \&$self->{locale}->text(); + $cleanvars->{text} = $self->{locale}->text(); } if (not $template->process( $format->can('get_template')->($self->{template}), -- cgit v1.2.3