Drop empty creators
This commit is contained in:
parent
080b3cad87
commit
64d9c50c32
|
@ -389,6 +389,11 @@ Zotero.Translate.ItemSaver.prototype = {
|
|||
for(var i=0; i<item.creators.length; i++) {
|
||||
var creator = item.creators[i];
|
||||
|
||||
if(!creator.firstName && !creator.lastName) {
|
||||
Zotero.debug("Translate: Silently dropping empty creator");
|
||||
continue;
|
||||
}
|
||||
|
||||
// try to assign correct creator type
|
||||
var creatorTypeID = 1;
|
||||
if(creator.creatorType) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user