[Koha-bugs] [Bug 26587] Cache libraries in Branches TT plugin to improve performance

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


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tomascohen at gmail.com

--- Comment #32 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
This patch introduces a warning on tests:
$ prove t/db_dependent/Template/Plugin/Branches.t
Use of uninitialized value $branchcode in concatenation (.) or string at
/kohadevbox/koha/Koha/Template/Plugin/Branches.pm line 35.

I'm not sure if it is ok to  call GetName with no branchcode param. Maybe it
should explode in those cases as it is obviously a bug.

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


More information about the Koha-bugs mailing list