From 54e8419fb7614a709f562e2ae90eb96cba10f137 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Mon, 10 Nov 2008 20:23:31 +0000 Subject: Correcting template error handling. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2385 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Template/TXT.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LedgerSMB') diff --git a/LedgerSMB/Template/TXT.pm b/LedgerSMB/Template/TXT.pm index ec4aaec3..66169613 100755 --- a/LedgerSMB/Template/TXT.pm +++ b/LedgerSMB/Template/TXT.pm @@ -67,7 +67,7 @@ sub process { } else { $output = \$parent->{output}; } - if (ref $parent->{template} eq 'SCALAR' or $type eq 'Math::BigInt::GMP') { + if (ref $parent->{template} eq 'SCALAR') { $source = $parent->{template}; } elsif (ref $parent->{template} eq 'ARRAY') { $source = join "\n", @{$parent->{template}}; -- cgit v1.2.3