www

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

commit aa783878dee10ebb9f0649593ac52354d51947c7
parent 3d83f5ff7009befa6ff71ea963d4e00c5b416bdb
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun, 15 Jan 2017 16:47:01 -0500

Fix error refreshing document with item replaced by merge

Diffstat:
Mchrome/content/zotero/xpcom/integration.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js @@ -3163,7 +3163,7 @@ Zotero.Integration.URIMap.prototype.getZoteroItemForURIs = function(uris) { 'item', Zotero.Relations.replacedItemPredicate, uri ); if (replacer.length && !replacer[0].deleted) { - zoteroItem = replacer; + zoteroItem = replacer[0]; } if(zoteroItem) break;