From ee3f8ee47fad037784f3162c25dc5796de8701cc Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 18 Feb 2008 09:37:37 +0000 Subject: [PATCH] addresses #933, subsequent-author-substitute no longer works should fix issues with no authors. still need to come up with some way to make subsequent-author-substitute work for subsequent editors and translators, but this is a more difficult problem. --- chrome/content/zotero/xpcom/cite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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