From 0539aa244a1d51d753e7b4796be5ad9b81597df9 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 21 Apr 2016 16:40:45 -0400 Subject: [PATCH] Another Zotero.Tags.getID() fix after e2cbfbd0fe --- chrome/content/zotero/xpcom/data/tags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/data/tags.js b/chrome/content/zotero/xpcom/data/tags.js index 982a0b656..6d773c549 100644 --- a/chrome/content/zotero/xpcom/data/tags.js +++ b/chrome/content/zotero/xpcom/data/tags.js @@ -242,7 +242,7 @@ Zotero.Tags = new function() { yield Zotero.DB.executeTransaction(function* () { var oldItemIDs = yield this.getTagItems(libraryID, oldTagID); - var newTagID = this.getID(newName, true); + var newTagID = yield this.create(newName); yield Zotero.Utilities.Internal.forEachChunkAsync( oldItemIDs,