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>
(cherry picked from commit 0630b79e4a)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
Pedro Amorim 2023-05-31 14:10:35 +00:00 committed by Matt Blenkinsop
parent 38380657d5
commit ca6d6a5913
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
}