From 0abd903917a1a4c3aeb0fade218d574d8d040239 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 4 Nov 2013 01:53:29 -0500 Subject: [PATCH] Fix index rebuild --- chrome/content/zotero/xpcom/fulltext.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/fulltext.js b/chrome/content/zotero/xpcom/fulltext.js index 25cc201d04..9095da363b 100644 --- a/chrome/content/zotero/xpcom/fulltext.js +++ b/chrome/content/zotero/xpcom/fulltext.js @@ -558,7 +558,7 @@ Zotero.Fulltext = new function(){ function indexItems(items, complete, ignoreErrors) { - if (Array.isArray(items)) { + if (!Array.isArray(items)) { items = [items]; } var items = Zotero.Items.get(items);