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:
parent
38380657d5
commit
ca6d6a5913
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
window.$biblio_to_html = function(biblio, config) {
|
||||
|
||||
if (biblio === undefined) {
|
||||
if (!biblio) {
|
||||
return ''; // empty string for no biblio
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue