From: Michael M Slusarz Date: Tue, 24 Mar 2009 05:44:11 +0000 (-0600) Subject: Better variable checking X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4558bcc7c95801f6aa2f5cb942fbe64341115bed;p=horde.git Better variable checking --- diff --git a/imp/js/src/DimpCore.js b/imp/js/src/DimpCore.js index e4f7751e9..15d7e8d2d 100644 --- a/imp/js/src/DimpCore.js +++ b/imp/js/src/DimpCore.js @@ -33,7 +33,7 @@ DimpCore = { debug: function(label, e) { if (!this.is_logout && DIMP.conf.debug) { - if (console) { + if (console.error) { // Firebug error reporting. console.error(label, e); } else {