Fix error creating new item with tags
This commit is contained in:
parent
1c8abf3841
commit
94accba8a0
1 changed files with 1 additions and 1 deletions
|
@ -1527,7 +1527,7 @@ Zotero.Item.prototype._saveData = Zotero.Promise.coroutine(function* (env) {
|
|||
}
|
||||
|
||||
// Tags
|
||||
if (this._changed.tags) {
|
||||
if (this._changed.tags && this._previousData.tags) {
|
||||
let oldTags = this._previousData.tags;
|
||||
let newTags = this._tags;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue