From f05931e05154cc85df4036fe7c4acdfc0ddb5995 Mon Sep 17 00:00:00 2001 From: Barton Chittenden Date: Thu, 18 Jun 2015 13:31:28 -0700 Subject: [PATCH] Bug 14324: Set "adultborrower" regardless of guarantor status. Signed-off-by: Jason Robb - SEKLS (jrobb@sekls.org) Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- members/moremember.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/members/moremember.pl b/members/moremember.pl index d448b918e3..2dfcc9509c 100755 --- a/members/moremember.pl +++ b/members/moremember.pl @@ -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; -- 2.39.5