Bug 14324: Set "adultborrower" regardless of guarantor status.
Signed-off-by: Jason Robb - SEKLS (jrobb@sekls.org) Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
fc6789c206
commit
f05931e051
|
|
@ -191,7 +191,6 @@ if ( $count ) {
|
|||
);
|
||||
}
|
||||
$template->param( guaranteeloop => \@guaranteedata );
|
||||
( $template->param( adultborrower => 1 ) ) if ( $category_type eq 'A' || $category_type eq 'I' );
|
||||
}
|
||||
else {
|
||||
if ($data->{'guarantorid'}){
|
||||
|
|
@ -206,6 +205,8 @@ else {
|
|||
}
|
||||
}
|
||||
|
||||
( $template->param( adultborrower => 1 ) ) if ( $category_type eq 'A' || $category_type eq 'I' );
|
||||
|
||||
my %bor;
|
||||
$bor{'borrowernumber'} = $borrowernumber;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue