Bugzilla – Attachment 34451 Details for
Bug 13470
pay fines with extended borrower attributes result in application error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13470 - pay fines with extended borrower attributes result in application error
Bug-13470---pay-fines-with-extended-borrower-attri.patch (text/plain), 1.43 KB, created by
Dobrica Pavlinusic
on 2014-12-16 11:52:43 UTC
(
hide
)
Description:
Bug 13470 - pay fines with extended borrower attributes result in application error
Filename:
MIME Type:
Creator:
Dobrica Pavlinusic
Created:
2014-12-16 11:52:43 UTC
Size:
1.43 KB
patch
obsolete
>From ae89c8eb04ebbd54f3aa14fbc3a1dc5352bdc438 Mon Sep 17 00:00:00 2001 >From: Dobrica Pavlinusic <dpavlin@rot13.org> >Date: Tue, 16 Dec 2014 12:49:40 +0100 >Subject: [PATCH] Bug 13470 - pay fines with extended borrower attributes result in application error > >Test scenario: > >1. ensure that extended patron attributes are turned on in system preferences >2. find borrower which has fine to pay, and click on pay button >3. verify application error >4. apply patch and verify that application error is gone >--- > members/paycollect.pl | 4 +--- > 1 files changed, 1 insertions(+), 3 deletions(-) > >diff --git a/members/paycollect.pl b/members/paycollect.pl >index ca47862..6473f02 100755 >--- a/members/paycollect.pl >+++ b/members/paycollect.pl >@@ -149,6 +149,7 @@ $template->param( > total => $total_due, > activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''), > RoutingSerials => C4::Context->preference('RoutingSerials'), >+ ExtendedPatronAttributes => C4::Context->preference('ExtendedPatronAttributes'), > ); > > output_html_with_http_headers $input, $cookie, $template->output; >@@ -179,9 +180,6 @@ sub borrower_add_additional_fields { > > if (C4::Context->preference('ExtendedPatronAttributes')) { > $b_ref->{extendedattributes} = GetBorrowerAttributes($borrowernumber); >- $template->param( >- ExtendedPatronAttributes => 1, >- ); > } > > # Computes full borrower address >-- >1.7.2.5
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 13470
:
34451
|
34501
|
34524