Fix crashes due to "Parameter 4 is undefined" error

Broken in 7d404e8d4a
This commit is contained in:
Dan Stillman 2016-01-14 19:42:25 -05:00
parent b52360d0f4
commit 0a5e31a4e1

View file

@ -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);