https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28883
--- Comment #37 from Marcel de Rooy <[email protected]> --- Curious code segment Koha/Patron: sub get_club_enrollments { my ( $self, $return_scalar ) = @_; my $e = Koha::Club::Enrollments->search( { borrowernumber => $self->borrowernumber(), date_canceled => undef } ); return $e if $return_scalar; return wantarray ? $e->as_list : $e; } $return_scalar ? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
