From 4cc93e8ead8c9d1a9a6b52ed9b6c478e933860ed Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 10 Jan 2014 08:00:45 +0000 Subject: [PATCH] fix for unexpected not defined this.configs --- phpgwapi/js/jsapi/egw_config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/jsapi/egw_config.js b/phpgwapi/js/jsapi/egw_config.js index 875a2576ed..0a64a9691b 100644 --- a/phpgwapi/js/jsapi/egw_config.js +++ b/phpgwapi/js/jsapi/egw_config.js @@ -37,7 +37,7 @@ egw.extend('config', egw.MODULE_GLOBAL, function() { { if (typeof _app == 'undefined') _app = 'phpgwapi'; - if (typeof this.configs[_app] == 'undefined') return null; + if (typeof this.configs == 'undefined' || typeof this.configs[_app] == 'undefined') return null; return this.configs[_app][_name]; },