From 94accba8a07d010f722cf3583bf1803a773b421c Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 10 Mar 2015 01:23:59 -0400 Subject: [PATCH] Fix error creating new item with tags --- chrome/content/zotero/xpcom/data/item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index ea1b02f023..9480ad86cb 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -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;