Bugzilla – Attachment 72263 Details for
Bug 2696
Fine payments should show what was paid for
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 2696 [QA Followup] - Remove use of GetMember
Bug-2696-QA-Followup---Remove-use-of-GetMember.patch (text/plain), 1.04 KB, created by
Kyle M Hall (khall)
on 2018-02-27 14:28:59 UTC
(
hide
)
Description:
Bug 2696 [QA Followup] - Remove use of GetMember
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-02-27 14:28:59 UTC
Size:
1.04 KB
patch
obsolete
>From d91d1e7ecdccfb1019cff5501f5e8e4e059f4f29 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatetsolutions.com> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 2696
:
800
|
3069
|
9583
|
64287
|
64293
|
64342
|
64345
|
64346
|
64350
|
67479
|
70031
|
72024
|
72088
|
72263
|
74672
|
74673
|
74674
|
74765
|
74817