Fix error refreshing document with item replaced by merge
This commit is contained in:
parent
3d83f5ff70
commit
aa783878de
|
@ -3163,7 +3163,7 @@ Zotero.Integration.URIMap.prototype.getZoteroItemForURIs = function(uris) {
|
||||||
'item', Zotero.Relations.replacedItemPredicate, uri
|
'item', Zotero.Relations.replacedItemPredicate, uri
|
||||||
);
|
);
|
||||||
if (replacer.length && !replacer[0].deleted) {
|
if (replacer.length && !replacer[0].deleted) {
|
||||||
zoteroItem = replacer;
|
zoteroItem = replacer[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
if(zoteroItem) break;
|
if(zoteroItem) break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user