All creator types defaulted to author on import

This commit is contained in:
Dan Stillman 2008-10-06 21:07:59 +00:00
parent f4a8822ea7
commit f8a5ddc047

View file

@ -1241,7 +1241,7 @@ Zotero.Translate.prototype._itemDone = function(item, attachedTo) {
// try to assign correct creator type // try to assign correct creator type
if(data[j].creatorType) { if(data[j].creatorType) {
try { try {
var creatorType = Zotero.CreatorTypes.getID(data[j].creatorType); var creatorTypeID = Zotero.CreatorTypes.getID(data[j].creatorType);
} catch(e) { } catch(e) {
Zotero.debug("Translate: Invalid creator type "+data[j].creatorType+" for creator index "+j, 2); Zotero.debug("Translate: Invalid creator type "+data[j].creatorType+" for creator index "+j, 2);
} }