diff options
Diffstat (limited to 'bin/ca.pl')
-rw-r--r-- | bin/ca.pl | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -238,13 +238,10 @@ sub list { value => 'Y', text => $locale->text('Subtotal'), }); - $form->{sort} ||= ''; #SC: blah. Find out why this breaks when undef - my $template = LedgerSMB::Template->new( - user => \%myconfig, + my $template = LedgerSMB::Template->new_UI( + user => \%myconfig, locale => $locale, - path => 'UI', - template => 'ca-list-selector', - format => 'HTML'); + template => 'ca-list-selector'); $template->render({ form => $form, includes => \@includes, |