From c57f512aea43abb7941d82defe2a6f8b19c839f6 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sun, 5 Aug 2012 19:44:04 -0400 Subject: [PATCH] Don't save null tags to server --- chrome/content/zotero/xpcom/utilities.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js index fc95506c1e..e64a8fcde2 100644 --- a/chrome/content/zotero/xpcom/utilities.js +++ b/chrome/content/zotero/xpcom/utilities.js @@ -1218,7 +1218,7 @@ Zotero.Utilities = { } else if(field === "tags") { // normalize tags var n = val.length; - var newTags = newItem.tags = new Array(n); + var newTags = newItem.tags = []; for(var j=0; j