From e206d7059516245e920026cc40826d9a12d1772f Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 22 Jan 2016 01:10:08 -0500 Subject: [PATCH] Fix "undefined" prefix from md5Async() --- chrome/content/zotero/xpcom/utilities_internal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/utilities_internal.js b/chrome/content/zotero/xpcom/utilities_internal.js index 2efa9ca35..151f584a0 100644 --- a/chrome/content/zotero/xpcom/utilities_internal.js +++ b/chrome/content/zotero/xpcom/utilities_internal.js @@ -142,7 +142,7 @@ Zotero.Utilities.Internal = { } // Hex string else { - let hexStr; + let hexStr = ""; for (let i = 0; i < hash.length; i++) { hexStr += toHexString(hash.charCodeAt(i)); }