Bug 21673: (QA follow-up) Fix typo and remove unused library
authorTomas Cohen Arazi <tomascohen@theke.io>
Sat, 27 Oct 2018 11:42:52 +0000 (08:42 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 6 Nov 2018 16:44:33 +0000 (16:44 +0000)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Account/Lines.pm
opac/opac-user.pl

index 66a91c9..75225fc 100644 (file)
@@ -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;
index d5dc417..98638c3 100755 (executable)
@@ -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'},