@@ -, +, @@ acqui-home.pl --- acqui/acqui-home.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- a/acqui/acqui-home.pl +++ a/acqui/acqui-home.pl @@ -39,6 +39,8 @@ use C4::Branch; use C4::Debug; use C4::Suggestions; +use Koha::Acquisition::Currencies; + my $query = CGI->new; my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( { template_name => 'acqui/acqui-home.tt', @@ -129,11 +131,9 @@ $template->param( suggestions_count => $suggestions_count, ); -my $cur = GetCurrency(); -if ( $cur ) { - $template->param( - currency => $cur->{currency}, - ); +my $active_currency = Koha::Acquisition::Currencies->get_active; +if ( $active_currency ) { + $template->param( currency => $active_currency->currency, ); } output_html_with_http_headers $query, $cookie, $template->output; --