[Koha-bugs] [Bug 29806] ->pickup_locations should always be called in scalar context

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 6 13:53:01 CET 2022


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

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |The
      release notes|                            |Koha::Biblio->pickup_locati
                   |                            |ons and
                   |                            |Koha::Item->pickup_location
                   |                            |methods don't always honour
                   |                            |list context. Because of
                   |                            |this, when used, they
                   |                            |should assume scalar
                   |                            |context. If list context
                   |                            |was required, the developer
                   |                            |needs to explicitly chain a
                   |                            |->as_list call.
                   |                            |
                   |                            |This patch
                   |                            |tracks the uses of this
                   |                            |methods and adjusts
                   |                            |accordingly.

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


More information about the Koha-bugs mailing list