diff --git a/chrome/content/zotero/xpcom/storage.js b/chrome/content/zotero/xpcom/storage.js index fc4ea383c..fe483812e 100644 --- a/chrome/content/zotero/xpcom/storage.js +++ b/chrome/content/zotero/xpcom/storage.js @@ -1543,7 +1543,7 @@ Zotero.Sync.Storage = new function () { var returnFile = null; // processDownload() needs to know that we're renaming the file if (renamed) { - var returnFile = destFile.clone(); + returnFile = destFile.clone(); } return returnFile; }