Bug 5112: Organisation does not show links to professionals github/bug_5112 origin/new/bug_5112
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Thu, 11 Nov 2010 12:39:32 +0000 (07:39 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 11 Nov 2010 20:40:50 +0000 (09:40 +1300)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
members/moremember.pl

index 34a3e09..3fffb54 100755 (executable)
@@ -168,7 +168,7 @@ if ( $category_type eq 'C') {
 if ( $data->{'ethnicity'} || $data->{'ethnotes'} ) {
     $template->param( printethnicityline => 1 );
 }
-if ( $category_type eq 'A' ) {
+if ( $category_type eq 'A' || $category_type eq 'I') {
     $template->param( isguarantee => 1 );
 
     # FIXME
@@ -188,7 +188,7 @@ if ( $category_type eq 'A' ) {
         );
     }
     $template->param( guaranteeloop => \@guaranteedata );
-    ( $template->param( adultborrower => 1 ) ) if ( $category_type eq 'A' );
+    ( $template->param( adultborrower => 1 ) ) if ( $category_type eq 'A' || $category_type eq 'I' );
 }
 else {
     if ($data->{'guarantorid'}){