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

--- Comment #20 from Tomás Cohen Arazi <[email protected]> ---
(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.
_______________________________________________
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/

Reply via email to