Bug 33873: Improve check for inexistant biblio object

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Pedro Amorim 2023-05-31 14:10:35 +00:00 committed by Tomas Cohen Arazi
parent eac2787565
commit 85aa6b7868
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
*/
window.$biblio_to_html = function(biblio, config) {
if (biblio === undefined) {
if (!biblio) {
return ''; // empty string for no biblio
}