]> git.koha-community.org Git - koha.git/commit
Bug 31087: Prevent stringification of null in return claims
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 27 Jun 2022 16:20:55 +0000 (17:20 +0100)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Fri, 12 Aug 2022 07:14:27 +0000 (09:14 +0200)
commit4db72c357a35c0fd15f7d43f8dc1ee6a4fc06ca5
tree2d2fcb7532a6bb42942f6cff9027e5933dd6fa9f
parent7ccea5b6f023c2f0c842c63244d7b9a70e28d781
Bug 31087: Prevent stringification of null in return claims

The return claims table was stringifying 'null'. This patch updates the
code to check for definition so we don't stringify incorrectly

Note: This patch was split out from a follow-up on bug 28854 as we felt
it should be treated separately for backportability.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 41ce80eb12e738a55c697f51ecfb32a932a38959)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit f055a4ae654fe3fde66bd0d316fdbe98daba8f36)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/checkouts.js