getByKey() doesn't take an array
This commit is contained in:
parent
0eebae010d
commit
ebeb9976d2
1 changed files with 1 additions and 1 deletions
|
@ -1152,7 +1152,7 @@ Zotero.Integration.Session.prototype.editCitation = function(index, citation) {
|
|||
if(citation) {
|
||||
for each(var citationItem in citation.citationItems) {
|
||||
if(citationItem.key && !citationItem.itemID) {
|
||||
var item = Zotero.Items.getByKey([citationItem.key]);
|
||||
var item = Zotero.Items.getByKey(citationItem.key);
|
||||
if(item) citationItem.itemID = item.itemID;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue