commit 0abd903917a1a4c3aeb0fade218d574d8d040239 parent ccf2a05c49d5d20c22aa73775e7d5b98a057837f Author: Dan Stillman <dstillman@zotero.org> Date: Mon, 4 Nov 2013 01:53:29 -0500 Fix index rebuild Diffstat:
| M | 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 @@ -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);