From 2d92f3776e14f910db469341cecd7220c5043bb1 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 30 Jun 2010 03:25:54 +0000 Subject: [PATCH] pass "false" and not null to nsIProcess.run (not that it seems to make any difference) --- chrome/content/zotero/xpcom/integration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index 1b3327a63..de0367a6a 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -303,7 +303,7 @@ Zotero.Integration = new function() { var proc = Components.classes["@mozilla.org/process/util;1"]. createInstance(Components.interfaces.nsIProcess); proc.init(_osascriptFile); - proc.run(block, ['-e', script], 2); + proc.run(!!block, ['-e', script], 2); } } }