From d580e420d33560b753aa4b10026951456675ccff Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 11 Dec 2024 03:43:03 -0500 Subject: [PATCH] Quick fix for inconsistent logging in updates window --- chrome/content/zotero/update/updates.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/update/updates.js b/chrome/content/zotero/update/updates.js index 8fe65037e3..ad3f1a1800 100644 --- a/chrome/content/zotero/update/updates.js +++ b/chrome/content/zotero/update/updates.js @@ -64,7 +64,12 @@ var gUpdatesFoundPageId; * The string to write to the error console.. */ function LOG(module, string) { - Zotero.debug("AUS:UI " + module + ":" + string); + if (arguments.length == 2) { + Zotero.debug("AUS:UI " + module + ":" + string); + } + else { + Zotero.debug("AUS:UI " + string); + } } /**