renamed CheckSpecificUserPermissions to GranularPermissions
[koha_fer] / members / mancredit.pl
index 59f6336..2705b7d 100755 (executable)
@@ -59,7 +59,9 @@ if ($add){
 
 my $borrowercategory = GetBorrowercategory( $data->{'categorycode'} );
 my $category_type = $borrowercategory->{'category_type'};
-( $template->param( adultborrower => 1 ) ) if ( $category_type eq 'A' );       
+( $template->param( adultborrower => 1 ) ) if ( $category_type eq 'A' );
+my ($picture, $dberror) = GetPatronImage($data->{'cardnumber'});
+$template->param( picture => 1 ) if $picture;
 
     $template->param(
                     borrowernumber => $borrowernumber,