[Koha-bugs] [Bug 18179] Koha::Objects->find should not be called in list context

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 29 20:10:04 CEST 2017


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

--- Comment #37 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 63832
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63832&action=edit
[16.11.x] Bug 18179: Update existing calls

This patch updates the existing occurrences of ->find called in a list
context.
There are certainly others that are not easy to catch with git grep.
Test plan:
Confirm that the 4 modified scripts still works as expected.

We need this one ASAP in master to make sure we will not get other
side-effects of this kind and to catch possible uncaught occurrences
before the release.

Tested scripts changed by this patch, they work as expected.
Signed-off-by: Marc Véron <veron at veron.ch>

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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


More information about the Koha-bugs mailing list