https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32980
Philip Orr <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #155015|0 |1 is obsolete| | --- Comment #9 from Philip Orr <[email protected]> --- Created attachment 155062 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=155062&action=edit Bug 32980: Make the return value of Koha::Patron::siblings consistent Without the patch, Koha::Patron::siblings can return: - undef (or an empty list in list context) if patron has no guarantors - a Koha::Patrons object if patron has at least one guarantor, which doesn't necessarily mean that they have siblings (they can be the only guarantee) For ease of use, this subroutine should always return a Koha::Patrons object, even if it represents an empty set. Signed-off-by: Owen Leonard <[email protected]> Signed-off-by: Philip Orr <[email protected]> -- 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/
