[Koha-bugs] [Bug 27038] Error when viewing a course reserve that has one or more items
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Nov 16 21:27:27 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27038
--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 113684
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113684&action=edit
Bug 27038: Fix parameters for AuthorisedValues.GetDescriptionByKohaField
Calls to GetDescriptionByKohaField are a bit mangled in
course-details.tt and throw an error like:
Template process failed: undef error - Can't use string ("NFIC") as a
HASH ref while "strict refs" in use at
/kohadevbox/koha/Koha/Template/Plugin/AuthorisedValues.pm line 83.
at /kohadevbox/koha/C4/Templates.pm line 122
Test Plan:
1) Check out master
2) Create a course
3) Add an item to the course
4) View the course
5) Note the error
6) Apply this patch
7) Reload the page
8) No error!
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list