From 1d0a66c1cfcd1d56760f1ec014ca8a4fccf1bd56 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 17 Oct 2008 17:31:34 +0000 Subject: [PATCH] Fix error saving automatic tags --- chrome/content/zotero/xpcom/data/tag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()'); }