https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29806 Bug ID: 29806 Summary: ->pickup_locations should always be called in scalar context Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: tomascohen@gmail.com QA Contact: testopia@bugs.koha-community.org The Koha::{Biblio|Item}->pickup_locations methods internally use Koha::Libraries->empty, which doesn't honour list context (bug 28871). When called in list context, if the Koha::Libraries resultset was built using ->empty, then things will explode, as exposed by bug 29804. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.