@@ -, +, @@ --- Koha/Account.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) --- a/Koha/Account.pm +++ a/Koha/Account.pm @@ -520,13 +520,11 @@ Return all credits and debits for the user, outstanding or otherwise sub lines { my ($self) = @_; - my $lines = Koha::Account::Lines->search( + return Koha::Account::Lines->search( { - borrowernumber => $self->{patron_id}, + borrowernumber => $self->{patron_id}, } ); - - return $lines; } 1; --