[Koha-bugs] [Bug 28871] Koha::Objects->empty doesn't work correctly in list context

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 2 13:08:46 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28871

--- Comment #15 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Tomás Cohen Arazi from comment #0)
> To test:
> my @patrons = Koha::Patrons->new->empty;
> Dumper(@patrons);

What is the practical use of doing so?
I would prefer my @patrons;

Was there some intention to use empty with chaining?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list