@@ -, +, @@ --- Koha/Club/Enrollment.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Koha/Club/Enrollment.pm +++ a/Koha/Club/Enrollment.pm @@ -59,7 +59,7 @@ sub cancel { sub club { my ( $self ) = @_; - return Koha::Clubs->find( $self->club_id() ); + return scalar Koha::Clubs->find( $self->club_id() ); } =head3 patron @@ -68,7 +68,7 @@ sub club { sub patron { my ( $self ) = @_; - return Koha::Patrons->find( $self->borrowernumber() ); + return scalar Koha::Patrons->find( $self->borrowernumber() ); } =head3 type --