From 7e5f5ec93f1b25b8db12de923d81473011abf8e4 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Sat, 27 Oct 2018 08:42:52 -0300 Subject: [PATCH] Bug 21673: (QA follow-up) Fix typo and remove unused library Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens --- Koha/Account/Lines.pm | 1 - opac/opac-user.pl | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Koha/Account/Lines.pm b/Koha/Account/Lines.pm index 66a91c9959..75225fcfeb 100644 --- a/Koha/Account/Lines.pm +++ b/Koha/Account/Lines.pm @@ -18,7 +18,6 @@ package Koha::Account::Lines; use Modern::Perl; use Carp; -use List::Util qw( sum0 ); use Koha::Database; use Koha::Account::Line; diff --git a/opac/opac-user.pl b/opac/opac-user.pl index d5dc41767f..98638c3a01 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -210,7 +210,7 @@ if ( $pending_checkouts->count ) { # Useless test itemnumber => $issue->{itemnumber} } ); - $issue->{rentalfines} = $rental_fines->total_outstanding + $issue->{rentalfines} = $rental_fines->total_outstanding; my $marcrecord = GetMarcBiblio({ biblionumber => $issue->{'biblionumber'}, -- 2.39.5