From 0a5e31a4e12a7d77cc4b954468ffa47a4a9f6864 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 14 Jan 2016 19:42:25 -0500 Subject: [PATCH] Fix crashes due to "Parameter 4 is undefined" error Broken in 7d404e8d4a --- chrome/content/zotero/xpcom/storage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/storage.js b/chrome/content/zotero/xpcom/storage.js index 395061463..9d871027c 100644 --- a/chrome/content/zotero/xpcom/storage.js +++ b/chrome/content/zotero/xpcom/storage.js @@ -1841,7 +1841,7 @@ Zotero.Sync.Storage = new function () { // Get files by open time itemIDs = itemIDs.concat( - _uploadCheckFiles.filter(item => item.timestamp >= minTime).map(item => item.id) + _uploadCheckFiles.filter(file => file.timestamp >= minTime).map(file => file.itemID) ); return Zotero.Utilities.arrayUnique(itemIDs);