Bug 36376: (QA follow-up) Tidy
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
841dc00ec8
commit
2e6a4a555b
2 changed files with 5 additions and 2 deletions
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue