[Koha-patches] [PATCH] Bug 5112: Organisation does not show links to professionals

Katrin Fischer Katrin.Fischer.83 at web.de
Wed Aug 11 01:38:11 CEST 2010


---
 members/moremember.pl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/members/moremember.pl b/members/moremember.pl
index 34a3e09..3fffb54 100755
--- a/members/moremember.pl
+++ b/members/moremember.pl
@@ -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'}){
-- 
1.6.3.3



More information about the Koha-patches mailing list