www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 10ba5e31d648dcdf9b07a6bfe95a7cf810a610ac
parent ce6cba7974da3cf53c9be97dc571eeeb56364e43
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri, 19 Sep 2014 20:37:59 -0400

Fix error from letter items with more than 10 recipients

https://forums.zotero.org/discussion/40218/

Diffstat:
Mchrome/content/zotero/xpcom/data/item.js | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js @@ -908,9 +908,9 @@ Zotero.Item.prototype.getDisplayTitle = function (includeAuthorAndDate) { } if (participants.length > 0) { - var names = []; - for each(participant in participants) { - names.push(participant.ref.lastName); + let names = []; + for (let i=0; i<4; i++) { + names.push(participants[i].ref.lastName); } switch (names.length) { case 1: