https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29243
Bug ID: 29243
Summary: PrepareItemrecordDisplay should not be called with
empty string in defaultvalues
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Bug 27545 expanded the use of NewItemsDefaultLocation, however, it checks for
$defaultvalues undefined.
There are several calls that pass '' (empty string) for default values.
It is expected to be a hashref, so we should pass undef if we don't have
defaults.
Otherwise, we get an error when NewItemsDefaultLocation is set:
Can't use string ("") as a HASH ref while "strict refs" in use at
/usr/share/koha/lib/C4/Items.pm line 1605.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/