mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
fix for unexpected not defined this.configs
This commit is contained in:
parent
243f20e98c
commit
4cc93e8ead
@ -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];
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user