12 Apr
2023
12 Apr
'23
12:51 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33504 --- Comment #3 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 149524 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149524&action=edit Bug 33504: Update patron_to_html to deal with null In the patron_to_html function we were dealing explicitly with the case where patron may be passed undefined, but forgetting that it may be returned as 'null' from the api too. Changing from `( patron === undefined )` to `( patron == null )` is the recommended approach for detecting 'undefined or null' in javascript. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.