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

Owen Leonard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #117752|0                           |1
        is obsolete|                            |

--- Comment #4 from Owen Leonard <[email protected]> ---
Created attachment 119731
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119731&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) Perform a search in the OPAC which will return results which
   include the record using XSLT
3) See patch removed warning

Signed-off-by: Owen Leonard <[email protected]>

-- 
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