[Koha-bugs] [Bug 31535] Fix a staff warn or two

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 12 17:29:19 CEST 2022


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

--- Comment #8 from Joonas Kylmälä <joonas.kylmala at iki.fi> ---
Created attachment 140465
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=140465&action=edit
Bug 31535: Fix warning - uninitialized value for location

In Koha/Item.pm line 169 (line number has been changed)

Test plan:
You need location to be NULL when storing.
Otherwise follow this reasoning:
  What happens when location is undefined? It is autovivified to
  empty string in the string compare (ne), so not equal to CART
  and PROC. The subcondition is true before and after this patch.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

Signed-off-by: Joonas Kylmälä <joonas.kylmala at iki.fi>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list