From bb383014390b4e770a4c60f715e9404bba771707 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. --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 283ea70..3037a46 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -3814,7 +3814,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.1.4