[Koha-bugs] [Bug 31202] Koha removes optional SIP fields with a value of "0"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 20 18:34:38 CEST 2022


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

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 137941
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137941&action=edit
Bug 31202 - Koha removes optional SIP fields with a value of "0"

If the value of a SIP field is "0", that evaluates to false, so any calls to
maybe_add with a value of "0" will not get added to the SIP response message.

Test Plan:
1) Apply this patch
2) prove t/db_dependent/SIP/Message.t

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


More information about the Koha-bugs mailing list