[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
Tue Apr 18 20:51:14 CEST 2017


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

Marc Véron <veron at veron.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #62305|0                           |1
        is obsolete|                            |

--- Comment #12 from Marc Véron <veron at veron.ch> ---
Created attachment 62321
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62321&action=edit
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>

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


More information about the Koha-bugs mailing list