[Koha-bugs] [Bug 20886] Koha::Object::TO_JSON indiscriminately casting to integer
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jun 7 16:16:30 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20886
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #75875|0 |1
is obsolete| |
--- Comment #8 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 75883
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75883&action=edit
Bug 20886: Do not cast undef to 0 (TO_JSON)
We should not cast undefined values to 0.
Signed-off-by: Andrew Isherwood <andrew.isherwood at ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
This was a bug I introduced. I think the fix is right, and if something
gets broken for this, it means it was making the wrong assumptions on
the data.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list