]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 1 Jul 2022 19:03:34 +0000 (16:03 -0300)
commit41ce80eb12e738a55c697f51ecfb32a932a38959
treefa965d933aeed655d52d90703a54462eea003d4f
parentde90b39b4c8a77ea3a911cf611e406770de5cf26
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>
koha-tmpl/intranet-tmpl/prog/js/checkouts.js