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

--- Comment #1 from Fridolin Somers <[email protected]> ---
Created attachment 117752
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117752&action=edit
Bug 27861: Warning in C4/XSLT.pm - use of uninitialized value in numeric eq
(==)

In C4/XSLT.pm :
 elsif ( exists $itemtypes->{ $item->effective_itemtype }
            && $itemtypes->{ $item->effective_itemtype }->{notforloan} == 1 )

itemtype.notforloan is null by default, its generated a warning in logs.

Test plan :
1) Choose a record with itemtype.notforloan = NULL
2) Display the record using XSLT
3) See patch removed warning

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
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/

Reply via email to