fix for unexpected not defined this.configs

This commit is contained in:
Klaus Leithoff 2014-01-10 08:00:45 +00:00
parent 243f20e98c
commit 4cc93e8ead

View File

@ -37,7 +37,7 @@ egw.extend('config', egw.MODULE_GLOBAL, function() {
{ {
if (typeof _app == 'undefined') _app = 'phpgwapi'; 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]; return this.configs[_app][_name];
}, },