summaryrefslogtreecommitdiff
path: root/bin/ca.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ca.pl')
-rw-r--r--bin/ca.pl9
1 files changed, 3 insertions, 6 deletions
diff --git a/bin/ca.pl b/bin/ca.pl
index 68ffdc5f..99a7ef66 100644
--- a/bin/ca.pl
+++ b/bin/ca.pl
@@ -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,