summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-11-10 20:23:31 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-11-10 20:23:31 +0000
commit54e8419fb7614a709f562e2ae90eb96cba10f137 (patch)
treea07b58919768c1a4df28a7f275e021777c1becdc /LedgerSMB
parentb373465898535055867ce8acdea26a6518a99ebd (diff)
Correcting template error handling.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2385 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/Template/TXT.pm2
1 files changed, 1 insertions, 1 deletions
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}};