summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-02 01:42:12 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-02 01:42:12 +0000
commit809285b31bbc0ff8c683d04ddd9e45503eea1246 (patch)
treec49fb1ab4676300dc3af80a8472c889146133212 /bin
parentbc38647466806bf4a8f249ea031eefed29f5eb30 (diff)
One can now sorta print a statement.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1496 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rw-r--r--bin/rp.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rp.pl b/bin/rp.pl
index 242f69de..4fb5142e 100644
--- a/bin/rp.pl
+++ b/bin/rp.pl
@@ -2278,7 +2278,7 @@ sub print_form {
}
my $template = LedgerSMB::Template->new( user => \%myconfig,
- template => $form->{'formname'},
+ template => $form->{'formname'} || $form->{'type'},
format => uc $form->{format} );
try {
$template->render($form);