From d2d65d3b0f413296aef26977aae7e118f1dfe80d Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 6 Sep 2016 14:08:42 +0000 Subject: [PATCH] Bug 15900 [QA Followup] - Use Koha::Patrons instead of Koha::Borrowers Since the initial submission of this patch, the module Koha::Borrowers has been moved to Koha::Patrons. This patch changes the call from Koha::Borrowers to Koha::Patrons. Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 470febcf33..e2c2ec5992 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -3836,7 +3836,7 @@ sub ProcessOfflineIssue { sub ProcessOfflinePayment { my $operation = shift; - my $patron = Koha::Borrowers->find( { cardnumber => $operation->{cardnumber} }); + my $patron = Koha::Patrons->find( { cardnumber => $operation->{cardnumber} }); my $amount = $operation->{amount}; Koha::Account->new( { patron_id => $patron->id } )->pay( { amount => $amount } ); -- 2.39.5