From 56a20312deca1de7952e1b1ebb4c719adff1fea2 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 --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 470febc..e2c2ec5 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.8.1