[Koha-bugs] [Bug 29858] Item.pm "Use of uninitialized value" warn when $field var is NULL
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jan 12 12:14:37 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29858
--- Comment #1 from Peter Vashchuk <stalkernoid at gmail.com> ---
Created attachment 129331
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=129331&action=edit
Bug 29858: NULL $field var causing "Use of uninitialized value" warn
Some fields might be null which causes "Use of
uninitialized value in string eq at .../Koha/Item.pm line 639." warn.
This patch prevents this warn to get thrown by checking if the field
is defined first.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list