IDEMPIERE-5255 - Print format Script Column SQL parse broken by space (#1285)

This commit is contained in:
PeterTakacs300 2022-04-15 09:48:40 +02:00 committed by GitHub
parent f18d221b41
commit d3b6c51655
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ public class DataEngine
{
if (script.startsWith("@SQL="))
{
script = "(" + script.replace("@SQL=", "") + ")";
script = "(" + script.replace("@SQL=", "").trim() + ")";
script = Env.parseContext(Env.getCtx(), 0, script, false);
}
else