From fcc3bd5ca651e15e35ad182eb07a8a3cefdfd6af 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 --- 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 c83f6d78f1..efb6ca6bbd 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -208,7 +208,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'} }); $issue->{'subtitle'} = GetRecordValue('subtitle', $marcrecord, GetFrameworkCode($issue->{'biblionumber'})); -- 2.19.1