N°3567 - Migrate backoffice pages to new UIBlock system : App. upgrade (display twig errors)

This commit is contained in:
Eric
2021-01-19 18:09:58 +01:00
parent 6dd1807fca
commit 392cdf6058
3 changed files with 17 additions and 22 deletions

View File

@@ -42,7 +42,8 @@ class UIBlockNode extends Node
->write("ob_end_clean();\n")
->write("if (strlen(\$sHtml) > 0) {\n")
->indent()->write("end(\$context['UIBlockParent'])->AddSubBlock(new \Combodo\iTop\Application\UI\Base\Component\Html\Html(\$sHtml));\n")->outdent()
->write("}\n") ->write("\$aParams = ")
->write("}\n")
->write("\$aParams = ")
->subcompile($oParams)
->raw(";\n");