push(@loop_reading,\%line);
}
- 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 ( $data->{'category_type'} eq 'A' );
if (! $limit){
$limit = 'full';
}