diff --git a/Koha/Club/Enrollment.pm b/Koha/Club/Enrollment.pm index 788f956984..168f55bca6 100644 --- a/Koha/Club/Enrollment.pm +++ b/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