diff options
Diffstat (limited to 'bin/io.pl')
-rw-r--r-- | bin/io.pl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1770,7 +1770,8 @@ sub print_form { if ( ( $form->{'media'} eq 'screen' ) and ( $form->{'format'} eq 'html' ) ) { my $template = - LedgerSMB::Template->new( \%myconfig, $form->{'formname'}, 'HTML' ); + LedgerSMB::Template->new( user => \%myconfig, + template => $form->{'formname'}, format => 'HTML' ); try { $template->render($form); $form->header; |