3 Nov
2021
3 Nov
'21
11:43 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28871 --- Comment #20 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Tomás Cohen Arazi from comment #19)
So Koha::Biblio->pickup_locations can honour list context sometimes, and sometimes not. With this patch the programmer can be sure ->pickup_locations has a predictable behavior and avoid coding for exceptional cases.
That said, removing the use of wantarray entirely (with which I agree after the debate, and because of the tradeoffs, not for the behavior), would make this patch unnecessary. But that doesn't look like it is gonna happen soon. -- You are receiving this mail because: You are watching all bug changes.