Skip to content
Snippets Groups Projects
Commit 47efb241 authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

try to workaround different concat result on maria db

parent 49a8db0b
No related branches found
No related tags found
No related merge requests found
......@@ -4,5 +4,5 @@ import("system.result");
if (vars.get("$field.COMMRESTRICTIONS_ACTIVE").trim())
{ // bug in SqlMaskingUtils.concat. -> use " " as seperator and replace " " by ", "
result.string(translate.text("No advertising by") + " " + vars.get("$field.COMMRESTRICTIONS_ACTIVE").trim().replace(" ", ", "));
result.string(translate.text("No advertising by") + " " + ((vars.get("$field.COMMRESTRICTIONS_ACTIVE")).trim()).replace("/ +/g", ", "));
}
......@@ -4,5 +4,5 @@ import("system.result");
if (vars.get("$field.COMMRESTRICTIONS_ACTIVE").trim())
{ // bug in SqlMaskingUtils.concat. -> use " " as seperator and replace " " by ", "
result.string(translate.text("No advertising by") + " " + vars.get("$field.COMMRESTRICTIONS_ACTIVE").trim().replace(" ", ", "));
result.string(translate.text("No advertising by") + " " + ((vars.get("$field.COMMRESTRICTIONS_ACTIVE")).trim()).replace(/ +/g, ", "));
}
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