Bug 36376: (QA follow-up) Tidy

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Nick Clemens 2024-04-01 12:53:01 +00:00 committed by Katrin Fischer
parent 841dc00ec8
commit 2e6a4a555b
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834
2 changed files with 5 additions and 2 deletions

View file

@ -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 );
}
}

View file

@ -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 );
}