}
} elsif ($club) {
my $already_enrolled = Koha::Club::Entrollments->search(
my $already_enrolled = Koha::Club::Enrollments->search(
{
club_id => $club->id(),
borrowernumber => $borrowernumber,
-