Fix error saving new creators after r3178
This commit is contained in:
parent
fa82b66c9f
commit
2d5c89cb9d
|
@ -229,7 +229,9 @@ Zotero.Creator.prototype.save = function () {
|
|||
creatorID = insertID;
|
||||
}
|
||||
|
||||
this.updateLinkedItems(creatorID);
|
||||
if (this.id) {
|
||||
this.updateLinkedItems();
|
||||
}
|
||||
|
||||
Zotero.DB.commitTransaction();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user