summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
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);