From 98ba07121662a8939e0352a4f3108c05f392e29c Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic 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 Signed-off-by: Aleisha --- members/paycollect.pl | 4 +--- 1 file changed, 1 insertion(+), 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.10.4