From b086e3c39fe240dfb24b0e0a49223244938d54e8 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 (cherry picked from commit f05931e05154cc85df4036fe7c4acdfc0ddb5995) Signed-off-by: Chris Cormack Signed-off-by: Liz Rea --- members/moremember.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/members/moremember.pl b/members/moremember.pl index de57c5ad1d..74c8d51ab1 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