[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 19:40:58 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31202
Michal Urban <michalurban177 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #137941|0 |1
is obsolete| |
--- Comment #2 from Michal Urban <michalurban177 at gmail.com> ---
Created attachment 137947
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137947&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
Signed-off-by: Michal Urban <michalurban177 at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list