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: Mason James <mtj@kohaaloha.com>
This commit is contained in:
parent
99a2002d35
commit
1812e6ab09
|
|
@ -185,7 +185,6 @@ if ( $category_type eq 'A' || $category_type eq 'I') {
|
|||
);
|
||||
}
|
||||
$template->param( guaranteeloop => \@guaranteedata );
|
||||
( $template->param( adultborrower => 1 ) ) if ( $category_type eq 'A' || $category_type eq 'I' );
|
||||
}
|
||||
else {
|
||||
if ($data->{'guarantorid'}){
|
||||
|
|
@ -200,6 +199,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