diff --git a/process/CachedRecordContainer_lib/process.js b/process/CachedRecordContainer_lib/process.js index 0d2da5b581a4ad734d042293e7c8870d56042225..e44f4dfa90c436f711c74ec22c5c4ad01d9942f2 100644 --- a/process/CachedRecordContainer_lib/process.js +++ b/process/CachedRecordContainer_lib/process.js @@ -1,4 +1,5 @@ import("system.vars"); +import("Util_lib"); /** * provides field-preset-constants for cached data records @@ -58,7 +59,6 @@ CachedRecordContainerFieldPresets.STANDARD_WITH_LOCALE = function(){ //there is no locale-variable for the server, so let's just store THAT it's the locale of the serverprocess res.unshift("_____serverlocale"); } - res = res.concat(CachedRecordContainerFieldPresets.STANDARD()); return res; }; @@ -124,7 +124,7 @@ CachedRecordContainerUtils.getCommonKey = function(pExtendedVariable1, pExtended */ CachedRecordContainerUtils.getKeyWithPreset = function(pPreset, pExtendedVariable1, pExtendedVariableN) { var varsToCheck; - if (typeof (pPreset) == "function") + if (Utils.isFunction(pPreset)) varsToCheck = pPreset.call(); else if (Array.isArray(pPreset)) varsToCheck = pPreset;