X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=members%2Fmancredit.pl;h=f8a3681f614046295602c6761dea2206b8f358f7;hb=185dc7f45af17bf70ec36125be736286a1f8b86e;hp=8150b7ff462dc2d471acff4ef57bec83f1575a85;hpb=b81a18ea39e1f360dc0dc4b7a874b614dc67d725;p=koha.git diff --git a/members/mancredit.pl b/members/mancredit.pl index 8150b7ff46..f8a3681f61 100755 --- a/members/mancredit.pl +++ b/members/mancredit.pl @@ -80,7 +80,7 @@ if ($add){ $template->param( 'catcode' => $patron_categories->next ) if $patron_categories->count == 1; } - $template->param( adultborrower => 1 ) if ( $data->{category_type} eq 'A' ); + $template->param( adultborrower => 1 ) if ( $data->{category_type} eq 'A' || $data->{category_type} eq 'I' ); my $patron_image = Koha::Patron::Images->find($data->{borrowernumber}); $template->param( picture => 1 ) if $patron_image;