projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug Fixing 1782 patch
[koha.git]
/
members
/
readingrec.pl
diff --git
a/members/readingrec.pl
b/members/readingrec.pl
index
5d737d1
..
86564bf
100755
(executable)
--- a/
members/readingrec.pl
+++ b/
members/readingrec.pl
@@
-77,9
+77,7
@@
for (my $i=0;$i<$count;$i++){
push(@loop_reading,\%line);
}
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';
}
if (! $limit){
$limit = 'full';
}