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:
parent
eac2787565
commit
85aa6b7868
|
|
@ -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