From 7d758613cf2844d3c8658226302b34b24df3a5d8 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Tue, 22 Jan 2008 19:40:20 -0600 Subject: [PATCH] Fix for bug 1772, thanks for the bug report Arona Signed-off-by: Joshua Ferraro --- members/readingrec.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/members/readingrec.pl b/members/readingrec.pl index 0e044ee67a..3eac89c277 100755 --- a/members/readingrec.pl +++ b/members/readingrec.pl @@ -42,7 +42,7 @@ my $limit=$input->param('limit'); if ($limit){ if ($limit eq 'full'){ - $limit=0; + $limit=0; } } else { @@ -79,7 +79,9 @@ for (my $i=0;$i<$count;$i++){ my $borrowercategory = GetBorrowercategory( $data->{'categorycode'} ); my $category_type = $borrowercategory->{'category_type'}; ( $template->param( adultborrower => 1 ) ) if ( $category_type eq 'A' ); - +if (! $limit){ + $limit = 'full'; +} $template->param( readingrecordview => 1, biblionumber => $data->{'biblionumber'}, -- 2.39.5