From d91d1e7ecdccfb1019cff5501f5e8e4e059f4f29 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 27 Feb 2018 09:28:38 -0500 Subject: [PATCH] Bug 2696 [QA Followup] - Remove use of GetMember --- members/accountline-details.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/members/accountline-details.pl b/members/accountline-details.pl index b5328ef..cd22d80 100644 --- a/members/accountline-details.pl +++ b/members/accountline-details.pl @@ -23,7 +23,7 @@ use CGI; use C4::Auth; use C4::Output; use C4::Context; -use C4::Members qw( GetMember ); +use Koha::Patrons; use Koha::Account::Lines; my $input = new CGI; @@ -59,8 +59,8 @@ if ($accountline) { finesview => 1, ); - my $data = GetMember( 'borrowernumber' => $accountline->borrowernumber ); - $template->param(%$data); + my $patron = Koha::Patrons->find( $accountline->borrowernumber ); + $template->param( patron => $patron ); } output_html_with_http_headers $input, $cookie, $template->output; -- 2.10.2