From 7ca06148087b962252eea2f0a57e732ea795aa2d Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 30 Jan 2024 14:32:12 +0000 Subject: [PATCH] Bug 35941: (QA follow-up) Tidy clubs-tab.pl Signed-off-by: Kyle M Hall Signed-off-by: Martin Renvoize (cherry picked from commit 7d2204f2ce0c60263b050c72541c71462527fe5b) Signed-off-by: Fridolin Somers --- opac/clubs/clubs-tab.pl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/opac/clubs/clubs-tab.pl b/opac/clubs/clubs-tab.pl index 28fcd1ed69..03cc687f2e 100755 --- a/opac/clubs/clubs-tab.pl +++ b/opac/clubs/clubs-tab.pl @@ -21,7 +21,7 @@ use Modern::Perl; use CGI; -use C4::Auth qw( get_template_and_user ); +use C4::Auth qw( get_template_and_user ); use C4::Output qw( output_html_with_http_headers ); use Koha::Patrons; @@ -29,16 +29,16 @@ my $cgi = CGI->new; my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { - template_name => "clubs/clubs-tab.tt", - query => $cgi, - type => "opac", + template_name => "clubs/clubs-tab.tt", + query => $cgi, + type => "opac", } ); -my $patron = Koha::Patrons->find( $loggedinuser ); +my $patron = Koha::Patrons->find($loggedinuser); my @enrollments = $patron->get_club_enrollments->as_list; -my @clubs = $patron->get_enrollable_clubs( my $opac = 1 )->as_list; +my @clubs = $patron->get_enrollable_clubs( my $opac = 1 )->as_list; $template->param( enrollments => \@enrollments, -- 2.39.5