Fix error refreshing document with item replaced by merge
This commit is contained in:
parent
3d83f5ff70
commit
aa783878de
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue