diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js index 76fa71684..a57066072 100644 --- a/chrome/content/zotero/xpcom/cite.js +++ b/chrome/content/zotero/xpcom/cite.js @@ -2637,7 +2637,7 @@ Zotero.CSL.ItemSet.prototype.resort = function() { } if(this.options["subsequent-author-substitute"] - && lastNames && lastNames.length == names.length) { + && lastNames && names.length && lastNames.length == names.length) { var namesDiffer = false; for(var j=0; j