diff --git a/chrome/content/zotero/xpcom/data/tag.js b/chrome/content/zotero/xpcom/data/tag.js index 4d95065d4..65e8d19a7 100644 --- a/chrome/content/zotero/xpcom/data/tag.js +++ b/chrome/content/zotero/xpcom/data/tag.js @@ -213,7 +213,7 @@ Zotero.Tag.prototype.save = function () { this.type = 0; } - if (this.type !== 0 && this.type !== 1) { + if (this.type !== 0 && this.type != 1) { throw ('Invalid tag type ' + this.type + ' in Zotero.Tag.save()'); }