Use original try_render false values

This commit is contained in:
samapraku committed 2020-10-08 22:14:09 +02:00
1 parent 299ca6e193
commit 0f7e238626
1 file changed
+2 -2
+2 -2
View File
@@ -129,12 +129,12 @@ class Service implements \Box\InjectionAwareInterface
$vars = array();
$vars['c'] = $clientArr;
$vars['_tpl'] = $model->subject;
$ps = $systemService->renderString($vars['_tpl'], true, $vars);
$ps = $systemService->renderString($vars['_tpl'], false, $vars);
$vars = array();
$vars['c'] = $clientArr;
$vars['_tpl'] = $model->content;
$pc = $systemService->renderString($vars['_tpl'], true, $vars);
$pc = $systemService->renderString($vars['_tpl'], false, $vars);
return array($ps, $pc);
}