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 <aleishaamohia@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit cc06e22de7)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
parent
6adb84cd20
commit
08e664e563
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue