From dbca9f20088d24cef3c3f854e1bf2dee935d1645 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 1 Oct 2014 10:37:52 +0000 Subject: [PATCH] fix typo --- phpgwapi/js/jsapi/egw_debug.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/jsapi/egw_debug.js b/phpgwapi/js/jsapi/egw_debug.js index cf7261ddb6..76b7db68a2 100644 --- a/phpgwapi/js/jsapi/egw_debug.js +++ b/phpgwapi/js/jsapi/egw_debug.js @@ -357,7 +357,7 @@ egw.extend('debug', egw.MODULE_GLOBAL, function(_app, _wnd) { } } // raise errors to user, if LOCAL_LOG_LEVEL > 0 - if (LOCAL_LOG_LEVEL_level == "error") raise_error(args); + if (LOCAL_LOG_LEVEL && _level == "error") raise_error(args); // log to html5 localStorage if (typeof stack != 'undefined') args.pop(); // remove stacktrace again