@@ -, +, @@ --- circ/circulation.pl | 4 +++- members/moremember.pl | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) --- a/circ/circulation.pl +++ a/circ/circulation.pl @@ -307,7 +307,9 @@ if ($patron) { $template->param( age_high => $patron->category->upperagelimit ); } - unless ( Koha::Patron::Categories->search_with_library_limits( { 'me.categorycode' => $patron->categorycode } )->count ) { + unless ( + Koha::Patron::Categories->search_with_library_limits( { 'me.categorycode' => $patron->categorycode } )->count ) + { $template->param( limited_category => 1 ); } } --- a/members/moremember.pl +++ a/members/moremember.pl @@ -133,7 +133,8 @@ if ( !$patron->is_valid_age ) { $template->param( age_high => $patron->category->upperagelimit ); } -unless ( Koha::Patron::Categories->search_with_library_limits( { 'me.categorycode' => $patron->categorycode } )->count ) { +unless ( Koha::Patron::Categories->search_with_library_limits( { 'me.categorycode' => $patron->categorycode } )->count ) +{ $template->param( limited_category => 1 ); } --