Skip to content
Snippets Groups Projects
Commit 0e71256e authored by Simon Leipold's avatar Simon Leipold
Browse files

[Projekt: Entwicklung - Neon][TicketNr.: 2003263][Keyword_lib -...

[Projekt: Entwicklung - Neon][TicketNr.: 2003263][Keyword_lib - KeywordUtils.getEntryArray() läuft immer in die erste if Bedingung]
parent 3e4a4004
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ import("system.translate");
import("system.vars");
import("KeywordRegistry_basic");
import("Sql_lib");
import("Util_lib");
/**
* provides methods for interactions with keywords
......@@ -206,7 +207,7 @@ KeywordUtils.getEntryNamesByContainer = function(pContainerName, pLocale)
*/
KeywordUtils.getEntryArray = function (pContainerName, pLocale, pOnlyActive)
{
if (vars.get("$sys.isserver"))
if (Utils.toBoolean(vars.get("$sys.isserver")))
{
return KeywordUtils.getEntryNamesAndIdsByContainer(pContainerName, pLocale, pOnlyActive);
}
......@@ -522,4 +523,4 @@ LanguageKeywordUtils.Iso2FromIso3 = function(key, pAlias)
var res = languageInfo.iso2;
return res == undefined ? "" : res;
};
\ No newline at end of file
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment