This commit is contained in:
Mirco Wittrien 2020-01-07 16:10:29 +01:00
parent ee723f71b2
commit 1a6a5e9f17
2 changed files with 2 additions and 2 deletions

View File

@ -2339,7 +2339,7 @@
if (key === undefined) return config;
else {
let keydata = configIsObject ? (BDFDB.ObjectUtils.is(config[key]) ? BDFDB.ObjectUtils.deepAssign({}, config[key] != undefined ? config[key] : {}) : config[key]) : null;
let keydata = configIsObject ? (BDFDB.ObjectUtils.is(config[key]) || config[key] == undefined ? BDFDB.ObjectUtils.deepAssign({}, config[key]) : config[key]) : null;
if (id === undefined) return keydata;
else return !BDFDB.ObjectUtils.is(keydata) || keydata[id] === undefined ? null : keydata[id];
}

File diff suppressed because one or more lines are too long