Bug 36376: (QA follow-up) Tidy
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 2e6a4a555b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
ebd8a50e6e
commit
768701bf1d
|
|
@ -306,7 +306,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 );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -138,7 +138,8 @@ $template->param(
|
|||
csrf_token => Koha::Token->new->generate_csrf({ session_id => $input->cookie('CGISESSID'),}),
|
||||
);
|
||||
|
||||
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 New Issue