From 73826630dc90359aa83979a26a5a7fdbe97fb3ea Mon Sep 17 00:00:00 2001 From: genevieve Date: Mon, 14 Sep 2015 15:15:41 -0400 Subject: [PATCH] Bug 12446 - Displayed button Add guarantee in Details section The button Add guarantee wasn't in the toolbar section in Details. It is now. --- members/moremember.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/members/moremember.pl b/members/moremember.pl index be8f9af..4c5d05f 100755 --- a/members/moremember.pl +++ b/members/moremember.pl @@ -198,9 +198,9 @@ if ( $count ) { } $template->param( guaranteeloop => \@guaranteedata ); $template->param( amounttot => sprintf("%.2f",$totalmount)); - ( $template->param( adultborrower => 1 ) ) if ( $category_type eq 'A' || $category_type eq 'I' ); - } +( $template->param( adultborrower => 1 ) ) if ( $category_type eq 'A' || $category_type eq 'I' ); + if ($data->{'guarantorid'}){ my ($guarantor) = GetMember( 'borrowernumber' =>$data->{'guarantorid'}); $template->param(guarantor => 1); -- 1.7.9.5